Skip to contentSkip to conversation

Makefile: move fs/common.mk above external.mk

PATCH New Thomas De Schampheleire 2 participants 2 messages May 5, 2014 – May 18, 2014 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Makefile: move fs/common.mk above external.mk

From: Philippe Reynes <[email protected]>

The file external.mk was included before fs/common.mk, so it was impossible to add rootfs targets using the BR2_EXTERNAL mechanism.
This change moves the inclusion of fs/common.mk before external.mk to allow this.

[ThomasDS: rebased, update commit message]

---
v2: rebased, update commit message

Makefile | 3 +--

 1 files changed, 1 insertions(+), 2 deletions(-)
Makefile +1 -2
@@ -388,6 +388,7 @@ include $(sort $(wildcard package/*/*.mk
 include boot/common.mk
 include linux/linux.mk
 include system/system.mk
+include fs/common.mk
 
 include $(BR2_EXTERNAL)/external.mk
 
@@ -401,8 +402,6 @@ ifeq ($(BR2_ECLIPSE_REGISTER),y)
 TARGETS += toolchain-eclipse-register
 endif
 
-include fs/common.mk
-
 TARGETS_SOURCE := $(patsubst %,%-source,$(TARGETS))
 TARGETS_DIRCLEAN := $(patsubst %,%-dirclean,$(TARGETS))
 
#1 lore raw

PATCH v2 1/1 Makefile: move fs/common.mk above external.mk

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Philippe Reynes <[email protected]>
The file external.mk was included before fs/common.mk, so it was impossible to add rootfs targets using the BR2_EXTERNAL mechanism.
This change moves the inclusion of fs/common.mk before external.mk to allow this.

Quoted 6 lines
[ThomasDS: rebased, update commit message]

---
v2: rebased, update commit message

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard