summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLluís Vilanova2014-01-20 12:21:54 +0100
committerPeter Maydell2014-03-08 13:08:11 +0100
commit6570025e53df25c47486d79cc8d3aea725f1744e (patch)
tree6b5a5081c552dd1e0e51a652a3bacbfd70a44e4e /Makefile
parentxenfb: Fix graphic_console_init() build failure (diff)
downloadqemu-6570025e53df25c47486d79cc8d3aea725f1744e.tar.gz
qemu-6570025e53df25c47486d79cc8d3aea725f1744e.tar.xz
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