Makefile: move fs/common.mk above external.mk
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.
---
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))
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 beforefs/common.mk, so it was impossible to add rootfs targets using theBR2_EXTERNALmechanism.
This change moves the inclusion offs/common.mkbefore external.mk to allow this.
Quoted 6 lines
Signed-off-by Philippe Reynes <[email protected]>[ThomasDS: rebased, update commit message]Signed-off-by Thomas De Schampheleire <[email protected]>---
v2: rebased, update commit message
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard