qemu/linux-user/host
Peter Maydell ba4537805d linux-user: Create a hostdep.h for each host architecture
In commit 4d330cee37 a new hostdep.h file was added, with the intent
that host architectures which needed one could provide it, and the
build system would automatically fall back to a generic version if
there was no version for the host architecture. Although this works,
it has a flaw: if a subsequent commit switches an architecture from
"uses generic/hostdep.h" to "uses its own hostdep.h" nothing in the
makefile dependencies notices this and so doing a rebuild without
a manual 'make clean' will fail.

So we drop the idea of having a 'generic' version in favour of
every architecture we support having its own hostdep.h, even if
it doesn't have anything in it. (There are only thirteen of these.)

If the dependency files claim that an object file depends on a
nonexistent file, our dependency system means that make will
rebuild the object file, and regenerate the dependencies in
the process. So moving between trees prior to this commit and
trees after this commit works without requiring a 'make clean'.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2016-06-26 13:17:21 +03:00
..
aarch64 linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
arm linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
i386 linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
ia64 linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
mips linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
ppc linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
ppc64 linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
s390 linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
s390x linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
sparc linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
sparc64 linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
x32 linux-user: Create a hostdep.h for each host architecture 2016-06-26 13:17:21 +03:00
x86_64 linux-user: provide frame information in x86-64 safe_syscall 2016-06-08 10:13:45 +03:00