fix madwifi compile for atheros 2.6
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 4 Feb 2007 03:28:57 +0000 (03:28 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 4 Feb 2007 03:28:57 +0000 (03:28 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6260 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/Makefile

index f59dadd..3343364 100644 (file)
@@ -100,19 +100,19 @@ MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \
                TOOLPREFIX="$(KERNEL_CROSS)" \
                TOOLPATH="$(KERNEL_CROSS)" \
                KERNELPATH="$(LINUX_DIR)" \
                TOOLPREFIX="$(KERNEL_CROSS)" \
                TOOLPATH="$(KERNEL_CROSS)" \
                KERNELPATH="$(LINUX_DIR)" \
-               LDOPTS=" " \
+               LDOPTS="--no-warn-mismatch " \
                ATH_RATE="ath_rate/$(RATE_CONTROL)" \
                DOMULTI=1
 
 ifeq ($(findstring AHB,$(BUS)),AHB)
   define Build/Compile/ahb
                ATH_RATE="ath_rate/$(RATE_CONTROL)" \
                DOMULTI=1
 
 ifeq ($(findstring AHB,$(BUS)),AHB)
   define Build/Compile/ahb
-       $(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" LDOPTS="--no-warn-mismatch" modules
+       $(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" modules
   endef
 endif
 
 ifeq ($(findstring PCI,$(BUS)),PCI)
   define Build/Compile/pci
   endef
 endif
 
 ifeq ($(findstring PCI,$(BUS)),PCI)
   define Build/Compile/pci
-       $(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" LDOPTS="--no-warn-mismatch" modules
+       $(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" modules
   endef
 endif
 
   endef
 endif
 
This page took 0.024656 seconds and 4 git commands to generate.