aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-12 18:37:45 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-14 10:12:24 +0200
commitf1e843864f89b58f806af371e0a09b1c219c522e (patch)
treeaa1eda448bfa67df189a3f57d5e9315a50340f44 /package
parent1afd174f8e72d660d040e8b818ee02ca88a8c8d6 (diff)
downloadbuildroot-f1e843864f89b58f806af371e0a09b1c219c522e.tar.gz
buildroot-f1e843864f89b58f806af371e0a09b1c219c522e.tar.bz2
pkg-kconfig: declare phony targets as such
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@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'package')
-rw-r--r--package/pkg-kconfig.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/pkg-kconfig.mk b/package/pkg-kconfig.mk
index fd9f19d949..8361064e2b 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
################################################################################