summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLluís Vilanova <vilanova@ac.upc.edu>2014-01-20 12:21:54 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-03-08 12:08:11 +0000
commit6570025e53df25c47486d79cc8d3aea725f1744e (patch)
tree6b5a5081c552dd1e0e51a652a3bacbfd70a44e4e /Makefile
parent80aaa0741f207a6f6e3b234b9a5e775798e0c9de (diff)
downloadqemu-6570025e53df25c47486d79cc8d3aea725f1744e.tar.gz
qemu-6570025e53df25c47486d79cc8d3aea725f1744e.tar.bz2
qemu-6570025e53df25c47486d79cc8d3aea725f1744e.zip
build: Fix installation of target-dependent files
Pass all the relevant sub-directory make variables. Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20140120112153.5685.30949.stgit@fimbulvetr.bsc.es
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ea6c71284b..bd9cd4fceb 100644
--- a/Makefile
+++ b/Makefile
@@ -399,7 +399,7 @@ endif
$(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(qemu_datadir)/keymaps"; \
done
for d in $(TARGET_DIRS); do \
- $(MAKE) -C $$d $@ || exit 1 ; \
+ $(MAKE) $(SUBDIR_MAKEFLAGS) TARGET_DIR=$$d/ -C $$d $@ || exit 1 ; \
done
# various test targets