Skip to contentSkip to conversation

build: Fix installation of target-dependant files

PATCH New Lluís Vilanova 1 participant 1 message Feb 29, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: Fix installation of target-dependant files

Pass all the relevant sub-directory make variables.

Cc Anthony Liguori <[email protected]>
Cc Paul Brook <[email protected]>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index ad1e627..3f1e2b9 100644
@@ -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