fix ar7-net compile error
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 19 Oct 2006 22:26:36 +0000 (22:26 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 19 Oct 2006 22:26:36 +0000 (22:26 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5243 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ar7-net/Makefile

index 89ce239..526a9bc 100644 (file)
@@ -38,7 +38,7 @@ define Build/Compile
                CROSS_COMPILE="$(TARGET_CROSS)" \
                ARCH="$(LINUX_KARCH)" \
                SUBDIRS="$(PKG_BUILD_DIR)" \
-               EXTRA_CFLAGS="-DCONFIG_AVALANCHE_CPMAC_AUTO -DCONFIG_MIPS_CPMAC_INIT_BUF_MALLOC" \
+               EXTRA_CFLAGS="-DCONFIG_AVALANCHE_CPMAC_AUTO -DCONFIG_MIPS_CPMAC_INIT_BUF_MALLOC -DCONFIG_MIPS_CPMAC_PORTS=1" \
                modules
 endef