mac80211: fix spurious error return codes in enable_mac80211()
[librecmc/librecmc.git] / package / hostapd / Makefile
index d1ca7ea887aee28788317f83bd0e682a05952910..682d6ab8524e4aab0e366708731176348993c7dd 100644 (file)
@@ -8,9 +8,9 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=hostapd
-PKG_VERSION:=20091129
+PKG_VERSION:=20100117
 PKG_RELEASE:=1
-PKG_REV:=be8eb8ab3ee42aa66930aea827bdcb05a2172276
+PKG_REV:=43a7fe2e0e614e52fa05ff4d78af91bd4e17d3b2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=git://w1.fi/srv/git/hostap.git
@@ -83,9 +83,8 @@ endef
 ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED)))
   $(warning $(wildcard $(PKG_BUILD_DIR)/.config_*) != $(subst .configured_,.config_,$(STAMP_CONFIGURED)))
   define Build/Configure/rebuild
+       $(FIND) $(PKG_BUILD_DIR) -name \*.o | $(XARGS) rm -f
        rm -f $(PKG_BUILD_DIR)/hostapd/hostapd
-       rm -f $(PKG_BUILD_DIR)/hostapd/*.o
-       rm -f $(PKG_BUILD_DIR)/src/drivers/drivers.o
        rm -f $(PKG_BUILD_DIR)/.config_*
        touch $(subst .configured_,.config_,$(STAMP_CONFIGURED))
   endef