[source] base-files: fix PKG_CONFIG_DEPENDS to include version.mk entries

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 26 14:51:55 PDT 2017


rmilecki pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/761e6087ed6d2c41a51f4bc5b91539857e324ac7

commit 761e6087ed6d2c41a51f4bc5b91539857e324ac7
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Fri Jun 16 13:23:22 2017 +0200

    base-files: fix PKG_CONFIG_DEPENDS to include version.mk entries
    
    Including version.mk sets PKG_CONFIG_DEPENDS to config entries used for
    VERSION_SED command. We should keep these configs to make sure package
    gets refreshed when needed.
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 package/base-files/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index ac3fe2f..305d0bf 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -18,7 +18,8 @@ PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
 PKG_BUILD_DEPENDS:=usign/host
 PKG_LICENSE:=GPL-2.0
 
-PKG_CONFIG_DEPENDS := CONFIG_SIGNED_PACKAGES CONFIG_TARGET_INIT_PATH CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE
+# Extend depends from version.mk
+PKG_CONFIG_DEPENDS += CONFIG_SIGNED_PACKAGES CONFIG_TARGET_INIT_PATH CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE
 
 include $(INCLUDE_DIR)/package.mk
 



More information about the lede-commits mailing list