[Buildroot] [git commit branch/2018.08.x] fs/common.mk: Fix show-build-order

Peter Korsgaard peter at korsgaard.com
Mon Nov 26 11:49:18 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=517c2250ecd64c41d3d50202d055874e5d97ed17
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.08.x

The command "make show-build-order" doesn't show dependencies of rootfs-common target.

This patch adds $(ROOTFS_COMMON_DEPENDENCIES) to PACKAGES variable.

Signed-off-by: Serj Kalichev <serj.kalichev at gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit 305e4487e5c18ed89bf2aa106b2068f9dce686fb)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 fs/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/common.mk b/fs/common.mk
index 54979d7b07..9c79d6b426 100644
--- a/fs/common.mk
+++ b/fs/common.mk
@@ -147,7 +147,7 @@ rootfs-$(1): $$(BINARIES_DIR)/rootfs.$(1)
 
 ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
 TARGETS_ROOTFS += rootfs-$(1)
-PACKAGES += $$(filter-out rootfs-%,$$(ROOTFS_$(2)_DEPENDENCIES))
+PACKAGES += $$(filter-out rootfs-%,$$(ROOTFS_$(2)_DEPENDENCIES) $$(ROOTFS_COMMON_DEPENDENCIES))
 endif
 
 # Check for legacy POST_TARGETS rules


More information about the buildroot mailing list