1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-01 04:54:33 +03:00

fix config change detect for hostapd

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9565 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-11-16 03:47:11 +00:00
parent 3406861c45
commit 9d70dd66e9
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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