path: root/package/pkg-kconfig.mk
diff options
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-06-13 18:46:33 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-28 14:29:07 +0200
commitf3938f392e33221ae2bf3ca80571eac83298f6ef (patch)
tree76b3c02773f43330c1e8d5e58bf6139c25896fe7 /package/pkg-kconfig.mk
parent96b6427de50ffef1c14cc9ad16c11f52ae1b4c6d (diff)
core/pkg-kconfig: extract package before using kconfig fragments
Kconfig fragments may be present in the package, so we need to extract and patch it before we can use the fragments. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Floris Bos <bos@je-eigen-domein.nl> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-kconfig.mk')
1 files changed, 3 insertions, 3 deletions
diff --git a/package/pkg-kconfig.mk b/package/pkg-kconfig.mk
index 7a00fff393..e65c6f9970 100644
--- a/package/pkg-kconfig.mk
+++ b/package/pkg-kconfig.mk
@@ -37,9 +37,9 @@ $(2)_KCONFIG_OPTS ?=
-# The config file could be in-tree, so before depending on it the package should
-# be extracted (and patched) first
-$$($(2)_KCONFIG_FILE): | $(1)-patch
+# The config file as well as the fragments could be in-tree, so before
+# depending on them the package should be extracted (and patched) first
+$$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES): | $(1)-patch
# The specified source configuration file and any additional configuration file
# fragments are merged together to .config, after the package has been patched.