From: Yann E. MORIN Date: Mon, 15 Apr 2019 19:47:30 +0000 (+0200) Subject: fs: add all recursive dependencies to packages list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b35c71745d4e0ed5edd30e0a91f991a9c703569;p=buildroot.git fs: add all recursive dependencies to packages list Currently, only first-level dependencies of a filesystem are added to the global list of packages, thus missing all recursive dependencies. Use the newly introduced recursive variable instead, which already contains the rootfs-common dependencies too. Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Cc: Thomas Petazzoni Cc: Thomas De Schampheleire Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/fs/common.mk b/fs/common.mk index 5ec28ca183..f7989eac57 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -190,7 +190,7 @@ rootfs-$(1): $$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME) ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y) TARGETS_ROOTFS += rootfs-$(1) -PACKAGES += $$(filter-out rootfs-%,$$(ROOTFS_$(2)_DEPENDENCIES) $$(ROOTFS_COMMON_DEPENDENCIES)) +PACKAGES += $$(filter-out rootfs-%,$$(ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES)) endif # Check for legacy POST_TARGETS rules