summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:47:11 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:47:11 +0000
commit9d70dd66e9c778650d768e95df56bebe4702e0bd (patch)
treed494e420f1ec1f408b4c67f6e86b64a3785d9f93 /rules.mk
parent3406861c45898997e1e144d72f32641129f697c8 (diff)
fix config change detect for hostapd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9565 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 4a0fa32e3..14ff5acdf 100644
--- a/rules.mk
+++ b/rules.mk
@@ -139,7 +139,10 @@ export $(call shvar,$(1))
endef
define confvar
-$(foreach v,$(1),$(if $($(v)),y,n))
+$(1):=$$(strip $$($(1)))_
+$(foreach v,$(2),
+ $(1):=$$(strip $$($(1)))$(if $($(v)),y,n)
+)
endef
# file extension