aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-16 00:39:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-16 00:39:57 +0000
commitb5e0c5ea5f7192ae52592f91c9af5fc61b86f9cd (patch)
treed3fcbb8fdfc7c181ab21e66c20d8773ac3788bcd /package/madwifi/Makefile
parentaddd63e46c2e31205b7f25c08addb72b05e61396 (diff)
downloadupstream-b5e0c5ea5f7192ae52592f91c9af5fc61b86f9cd.tar.gz
upstream-b5e0c5ea5f7192ae52592f91c9af5fc61b86f9cd.tar.bz2
upstream-b5e0c5ea5f7192ae52592f91c9af5fc61b86f9cd.zip
add SoC support to madwifi
SVN-Revision: 5804
Diffstat (limited to 'package/madwifi/Makefile')
-rw-r--r--package/madwifi/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 8bd6bc1a5c..7657f8d2ee 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -43,6 +43,7 @@ endif
BUS:=PCI
ifneq ($(CONFIG_LINUX_2_6_AR531X),)
BUS:=AHB
+ HAL_TARGET:=ap51
endif
ifneq ($(CONFIG_LINUX_2_6_ARUBA),)
BUS:=PCI AHB # no suitable HAL for AHB yet.
@@ -105,16 +106,20 @@ MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \
ifeq ($(findstring AHB,$(BUS)),AHB)
define Build/Compile/ahb
- $(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" modules
+ $(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" LDOPTS="--no-warn-mismatch" modules
endef
endif
ifeq ($(findstring PCI,$(BUS)),PCI)
define Build/Compile/pci
- $(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" modules
+ $(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" LDOPTS="--no-warn-mismatch" modules
endef
endif
+define Build/Configure
+ $(SED) 's,-E[LB] ,,g' $(PKG_BUILD_DIR)/hal/public/*.inc
+endef
+
define Build/Compile
$(call Build/Compile/ahb)
$(call Build/Compile/pci)