add some madwifi fixes and enhancements by Sven-Ola, refresh patches
[librecmc/librecmc.git] / package / madwifi / Makefile
index 27c29529ed9e90c3647a4e918c38207d86bba6a6..ac15b2c67c62e05fea35a0b0316ab15cb347f375 100644 (file)
@@ -56,6 +56,9 @@ endif
 ifeq ($(BOARD),iop32x)
   HAL_TARGET:=xscale-le-elf
 endif
+ifeq ($(BOARD),orion)
+  HAL_TARGET:=xscale-le-elf
+endif
 ifeq ($(ARCH),powerpc)
   HAL_TARGET:=powerpc-be-elf
 endif
@@ -115,7 +118,7 @@ ifeq ($(findstring PCI,$(BUS)),PCI)
   MADWIFI_AUTOLOAD+= ath_pci
 endif
 
-MADWIFI_APPLETS:=80211stats,athchans,athctrl,athkey,athstats,wlanconfig
+MADWIFI_APPLETS:=80211stats,athchans,athctrl,athkey,athstats,wlanconfig,ath_info
 ifdef CONFIG_MADWIFI_DEBUG
   MADWIFI_APPLETS:=$(strip $(MADWIFI_APPLETS)),athdebug,80211debug
 endif
@@ -166,6 +169,7 @@ ifneq ($(HALFILE),)
        rm -rf $(PKG_BUILD_DIR)/tmp
        # patch cflags
        $(SED) 's, -E[LB],,' \
+               -e 's, -mips2,,' \
                -e 's, -mapcs-32,,' \
                $(PKG_BUILD_DIR)/hal/public/*.inc
        $(SED) 's,march=armv4,march=armv5te,' \