diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-11-16 03:47:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-11-16 03:47:11 +0000 |
commit | a8c17898ccda61672f8b6788b2a0120e313762f8 (patch) | |
tree | 5ddff05b37987f8136f522ebd8b46f95a3a5ea6e | |
parent | 42d7efd08301a649ced2059c048d7381a27892b4 (diff) | |
download | upstream-a8c17898ccda61672f8b6788b2a0120e313762f8.tar.gz upstream-a8c17898ccda61672f8b6788b2a0120e313762f8.tar.bz2 upstream-a8c17898ccda61672f8b6788b2a0120e313762f8.zip |
fix config change detect for hostapd
SVN-Revision: 9565
-rw-r--r-- | package/hostapd/Makefile | 2 | ||||
-rw-r--r-- | rules.mk | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 322f881781..31ef18d8be 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -20,7 +20,7 @@ PKG_SOURCE_VERSION:=$(PKG_REV) PKG_BUILD_DEPENDS:=madwifi mac80211 include $(INCLUDE_DIR)/package.mk -STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,PACKAGE_kmod-mac80211 PACKAGE_kmod-madwifi) +$(eval $(call confvar,STAMP_CONFIGURED,CONFIG_PACKAGE_kmod-mac80211 CONFIG_PACKAGE_kmod-madwifi)) define Package/hostapd/Default SECTION:=net @@ -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 |