Skip to contentSkip to conversation

build: Fix installation of target-dependent files

PATCH In review Lluís Vilanova 3 participants 5 messages Jan 20, 2014 – Mar 8, 2014 Kbuild

lore
Share & tools
lore
#0 lore raw

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

Pass all the relevant sub-directory make variables.

---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index bdff4e4..02ae76d 100644
@@ -366,7 +366,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
#1 lore raw
Quoted 1 line · Lluís Vilanova

Pass all the relevant sub-directory make variables.

Ping.

Thanks,
Lluis

Quoted 18 lines
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index bdff4e4..02ae76d 100644
@@ -366,7 +366,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
Signature · 4 lines
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth
#2 lore raw
Quoted 4 lines · Lluís Vilanova
Quoted 1 line · Lluís Vilanova

Pass all the relevant sub-directory make variables.

Ping.

Ping^2

Quoted 22 lines

Thanks,
Lluis

Quoted 18 lines

---
Makefile | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +0 -0
index bdff4e4..02ae76d 100644
@@ -366,7 +366,7 @@ endif
 $(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(qemu_datadir)/keymaps"; \

done
for d in $(TARGET_DIRS); do \

Makefile +1 -1
-	$(MAKE) -C $$d $@ || exit 1 ; \
+	$(MAKE) $(SUBDIR_MAKEFLAGS) TARGET_DIR=$$d/ -C $$d $@ || exit 1 ; \

done

# various test targets
Signature · 4 lines
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth
Reviewed-by
#3 lore raw

Il 07/03/2014 02:19, Lluís Vilanova ha scritto:

Quoted 34 lines
Quoted 4 lines · Lluís Vilanova
Quoted 1 line · Lluís Vilanova

Pass all the relevant sub-directory make variables.

Ping.

Ping^2

Quoted 22 lines

Thanks,
Lluis

Quoted 18 lines

---
Makefile | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +0 -0
index bdff4e4..02ae76d 100644
@@ -366,7 +366,7 @@ endif
 $(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(qemu_datadir)/keymaps"; \

done
for d in $(TARGET_DIRS); do \

Makefile +1 -1
-	$(MAKE) -C $$d $@ || exit 1 ; \
+	$(MAKE) $(SUBDIR_MAKEFLAGS) TARGET_DIR=$$d/ -C $$d $@ || exit 1 ; \

done

# various test targets

Paolo