[Buildroot] [PATCHv2 01/21] pkg-kconfig: declare phony targets as such
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Apr 12 16:37:45 UTC 2015
Just like the previous commit did for the pkg-generic infrastructure,
this commit improves the pkg-kconfig infrastructure to declare its
custom <pkg>-<something> targets as PHONY.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/pkg-kconfig.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/pkg-kconfig.mk b/package/pkg-kconfig.mk
index fd9f19d..8361064 100644
--- a/package/pkg-kconfig.mk
+++ b/package/pkg-kconfig.mk
@@ -100,6 +100,12 @@ $(1)-update-defconfig: $(1)-savedefconfig
endif # package enabled
+.PHONY: \
+ $(1)-update-config \
+ $(1)-update-defconfig \
+ $(1)-savedefconfig \
+ $$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS))
+
endef # inner-kconfig-package
################################################################################
--
2.1.0
More information about the buildroot
mailing list