aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-12-05 19:42:31 +0000
committerPeter Maydell <peter.maydell@linaro.org>2011-12-05 19:42:31 +0000
commit8ce9aaecdf14f86d785d4f5fe3a9206c96c14c15 (patch)
tree286c3b7fb4a2f8351f66aecfb7079bbb5bcd4b0f
parenteb5d5beaebd102599a915f6c4813d445ddc9dc84 (diff)
downloadqemu-arm-8ce9aaecdf14f86d785d4f5fe3a9206c96c14c15.tar.gz
Makefile.target: Prefer target-specific linux-user sources to common ones
Flip the vpath order for linux-user/ and linux-user/$(TARGET_ABI_DIR) so that we prefer to use a target-specific source file but can fall back on a generic one. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--Makefile.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index a111521dbf..d9aeeffa06 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -113,7 +113,7 @@ signal.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
ifdef CONFIG_LINUX_USER
-$(call set-vpath, $(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR))
+$(call set-vpath, $(SRC_PATH)/linux-user/$(TARGET_ABI_DIR):$(SRC_PATH)/linux-user)
QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) -I$(SRC_PATH)/linux-user
obj-y = main.o syscall.o strace.o mmap.o signal.o thunk.o \