aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-16 03:47:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-16 03:47:11 +0000
commita8c17898ccda61672f8b6788b2a0120e313762f8 (patch)
tree5ddff05b37987f8136f522ebd8b46f95a3a5ea6e /rules.mk
parent42d7efd08301a649ced2059c048d7381a27892b4 (diff)
downloadupstream-a8c17898ccda61672f8b6788b2a0120e313762f8.tar.gz
upstream-a8c17898ccda61672f8b6788b2a0120e313762f8.tar.bz2
upstream-a8c17898ccda61672f8b6788b2a0120e313762f8.zip
fix config change detect for hostapd
SVN-Revision: 9565
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 4a0fa32e35..14ff5acdf2 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