Patchwork build: Fix installation of target-dependant files

login
register
mail settings
Submitter Lluís Vilanova
Date Feb. 29, 2012, 7:11 p.m.
Message ID <20120229191147.15334.12995.stgit@ginnungagap.bsc.es>
Download mbox | patch
Permalink /patch/143807/
State New
Headers show

Comments

Lluís Vilanova - Feb. 29, 2012, 7:11 p.m.
Pass all the relevant sub-directory make variables.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Cc: Paul Brook <paul@codesourcery.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/Makefile b/Makefile
index ad1e627..3f1e2b9 100644
--- a/Makefile
+++ b/Makefile
@@ -299,7 +299,7 @@  endif
 		$(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \
 	done
 	for d in $(TARGET_DIRS); do \
-	$(MAKE) -C $$d $@ || exit 1 ; \
+	$(MAKE) $(SUBDIR_MAKEFLAGS) -C $$d $@ || exit 1 ; \
         done
 
 # various test targets