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

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 22 01:12:05 PDT 2017


rmilecki pushed a commit to source.git, branch master:
https://git.lede-project.org/b91a38d6479ec7ca028352013e3f27e05491cc95

commit b91a38d6479ec7ca028352013e3f27e05491cc95
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 54c1576..6a1dff7 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 := \
+# Extend depends from version.mk
+PKG_CONFIG_DEPENDS += \
 	CONFIG_SIGNED_PACKAGES CONFIG_TARGET_INIT_PATH CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE \
 	CONFIG_NAND_SUPPORT
 



More information about the lede-commits mailing list