summaryrefslogtreecommitdiff
path: root/package/rt2x00/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-08-07 09:12:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-08-07 09:12:49 +0000
commit195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d (patch)
tree881f2e1921a80a5701421cc99477c3592962a15f /package/rt2x00/Makefile
parentce173e209444843060cc64cc22b5c7f612a9bf54 (diff)
downloadmtk-20170518-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.zip
mtk-20170518-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.tar.gz
mtk-20170518-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.tar.bz2
Upgrade rt2x00 to a more recent snapshot, master mode now working, thanks to Daniel Gimpelevich
SVN-Revision: 8367
Diffstat (limited to 'package/rt2x00/Makefile')
-rw-r--r--package/rt2x00/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/rt2x00/Makefile b/package/rt2x00/Makefile
index 4ab5a12..1759f82 100644
--- a/package/rt2x00/Makefile
+++ b/package/rt2x00/Makefile
@@ -10,8 +10,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=rt2x00
-#PKG_VERSION:=cvs-20070725
-PKG_VERSION:=git-200706018
+PKG_VERSION:=cvs-20070712
include $(INCLUDE_DIR)/package.mk
@@ -107,18 +106,20 @@ endef
define Build/Prepare
$(call Build/Prepare/Default)
$(CP) -r src/* $(PKG_BUILD_DIR)/
- sed 's/\$$$$(CONFIG_RT.*)/m\t\t/g' src/Makefile > $(PKG_BUILD_DIR)/Makefile
+ wget -N -P $(DL_DIR) http://www.ralinktech.com.tw/data/RT61_Firmware_V1.2.zip
+ wget -N -P $(DL_DIR) http://www.ralinktech.com.tw/data/RT71W_Firmware_V1.8.zip
+ unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/RT61_Firmware_V1.2.zip
+ unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/RT71W_Firmware_V1.8.zip
endef
define Build/Compile
-# $(MAKE) -C "$(PKG_BUILD_DIR)" config_header
+ $(MAKE) -C "$(PKG_BUILD_DIR)" config_header
$(MAKE) -C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" V="$(V)" \
SUBDIRS="$(PKG_BUILD_DIR)" \
KERNELVERSION="$(KERNEL)" \
KERNEL_SOURCE="$(LINUX_DIR)" \
- CFLAGS_MODULE="-DMODULE -include $(PKG_BUILD_DIR)/rt2x00_compat.h" \
KDIR="$(LINUX_DIR)"
endef