I'm using the wpad-mini package. It seems that if a build an image with ath5k
and then switch to madwifi and rebuild the image the hostapd package
remains linked to libnl-tiny.

I've tried to adapt an older patch to fix this issue.

Signed-off by: Roberto Riggio<roberto.rig...@create-net.org>

--

Index: hostapd/Makefile
===================================================================
--- hostapd/Makefile    (revision 19496)
+++ hostapd/Makefile    (working copy)
@@ -187,7 +187,10 @@
   define Build/Configure/rebuild
        $(FIND) $(PKG_BUILD_DIR) -name \*.o -or -name \*.a | $(XARGS) rm -f
        rm -f $(PKG_BUILD_DIR)/hostapd/hostapd
+       rm -f $(PKG_BUILD_DIR)/hostapd/*.o
        rm -f $(PKG_BUILD_DIR)/wpa_supplicant/wpa_supplicant
+       rm -f $(PKG_BUILD_DIR)/wpa_supplicant/*.o
+       rm -f $(PKG_BUILD_DIR)/src/drivers/drivers.o
        rm -f $(PKG_BUILD_DIR)/.config_*
        touch $(subst .configured_,.config_,$(STAMP_CONFIGURED))
   endef


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to