From: Lluís Vilanova Date: Mon, 20 Jan 2014 11:21:54 +0000 (+0100) Subject: build: Fix installation of target-dependent files X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~1014 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6570025e53df25c47486d79cc8d3aea725f1744e;p=sdk%2Femulator%2Fqemu.git build: Fix installation of target-dependent files Pass all the relevant sub-directory make variables. Signed-off-by: Lluís Vilanova Reviewed-by: Paolo Bonzini Signed-off-by: Peter Maydell Message-id: 20140120112153.5685.30949.stgit@fimbulvetr.bsc.es --- diff --git a/Makefile b/Makefile index ea6c712..bd9cd4f 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