diff options
Diffstat (limited to 'network/rt3xxx/patches')
-rw-r--r-- | network/rt3xxx/patches/Makefile.6.diff | 37 | ||||
-rw-r--r-- | network/rt3xxx/patches/Makefile.diff | 35 | ||||
-rw-r--r-- | network/rt3xxx/patches/config.mk.diff | 28 | ||||
-rw-r--r-- | network/rt3xxx/patches/kill_tftpboot_creation.diff | 69 |
4 files changed, 0 insertions, 169 deletions
diff --git a/network/rt3xxx/patches/Makefile.6.diff b/network/rt3xxx/patches/Makefile.6.diff deleted file mode 100644 index 70660351e7..0000000000 --- a/network/rt3xxx/patches/Makefile.6.diff +++ /dev/null @@ -1,37 +0,0 @@ -diff -Naur a/os/linux/Makefile.6 b/os/linux/Makefile.6 ---- a/os/linux/Makefile.6 2010-12-17 20:44:47.000000000 +0900 -+++ b/os/linux/Makefile.6 2011-01-27 04:45:02.828981820 +0900 -@@ -4,7 +4,7 @@ - #ifdef CONFIG_STA_SUPPORT - ifeq ($(RT28xx_MODE), STA) - MOD_NAME = rt$(CHIPSET)sta --DAT_PATH = /etc/Wireless/RT$(CHIPSET_DAT)STA -+DAT_PATH = /etc/rt3xxx/RT$(CHIPSET_DAT)STA - DAT_FILE_NAME = RT$(CHIPSET_DAT)STA.dat - endif - #endif // CONFIG_STA_SUPPORT // -@@ -255,18 +255,14 @@ - endif - - install: -- rm -rf $(DAT_PATH) -- $(shell [ ! -f /etc/Wireless ] && mkdir /etc/Wireless) -- mkdir $(DAT_PATH) -- cp $(RT28xx_DIR)/$(DAT_FILE_NAME) $(DAT_PATH)/. -- install -d $(LINUX_SRC_MODULE) -- install -m 644 -c $(addsuffix .ko,$(MOD_NAME)) $(LINUX_SRC_MODULE) -- /sbin/depmod -a ${shell uname -r} -+ mkdir -p $(DESTDIR)/$(DAT_PATH) -+ cp $(RT28xx_DIR)/$(DAT_FILE_NAME) $(DESTDIR)/$(DAT_PATH) -+ install -d $(DESTDIR)/$(LINUX_SRC_MODULE) -+ install -m 644 -c $(addsuffix .ko,$(MOD_NAME)) $(DESTDIR)/$(LINUX_SRC_MODULE) - - uninstall: - # rm -rf $(DAT_PATH) -- rm -rf $(addprefix $(LINUX_SRC_MODULE),$(addsuffix .ko,$(MOD_NAME))) -- /sbin/depmod -a ${shell uname -r} -+ rm -rf $(addprefix $(DESTDIR)/$(LINUX_SRC_MODULE),$(addsuffix .ko,$(MOD_NAME))) - - # Declare the contents of the .PHONY variable as phony. We keep that - # information in a variable so we can use it in if_changed and friends. - diff --git a/network/rt3xxx/patches/Makefile.diff b/network/rt3xxx/patches/Makefile.diff deleted file mode 100644 index 53723f8cad..0000000000 --- a/network/rt3xxx/patches/Makefile.diff +++ /dev/null @@ -1,35 +0,0 @@ -diff -Naur a/Makefile b/Makefile ---- a/Makefile 2010-12-17 20:44:47.000000000 +0900 -+++ b/Makefile 2011-01-27 04:39:12.732361523 +0900 -@@ -1,8 +1,7 @@ - RT28xx_MODE = STA - - TARGET = LINUX -- --CHIPSET = 3562 -+MODE = STA - - #OS ABL - YES or NO - OSABL = NO -@@ -139,10 +138,10 @@ - - ifeq ($(PLATFORM),PC) - # Linux 2.6 --LINUX_SRC = /lib/modules/$(shell uname -r)/build -+LINUX_SRC = /lib/modules/$(KERNEL)/build - # Linux 2.4 Change to your local setting - #LINUX_SRC = /usr/src/linux-2.4 --LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/ -+LINUX_SRC_MODULE = /lib/modules/$(KERNEL)/kernel/drivers/net/wireless - CROSS_COMPILE = - endif - -@@ -239,7 +238,7 @@ - CROSS_COMPILE = /opt/montavista/pro/devkit/arm/v5t_le_mvl5/bin/arm_v5t_le- - endif - --export OSABL RT28xx_DIR RT28xx_MODE LINUX_SRC CROSS_COMPILE CROSS_COMPILE_INCLUDE PLATFORM RELEASE CHIPSET RTMP_SRC_DIR LINUX_SRC_MODULE TARGET -+export OSABL RT28xx_DIR RT28xx_MODE CROSS_COMPILE CROSS_COMPILE_INCLUDE PLATFORM RELEASE LINUX_SRC RTMP_SRC_DIR LINUX_SRC_MODULE TARGET - - # The targets that may be used. - PHONY += all build_tools test UCOS THREADX LINUX release prerelease clean uninstall install libwapi osabl diff --git a/network/rt3xxx/patches/config.mk.diff b/network/rt3xxx/patches/config.mk.diff deleted file mode 100644 index 95eb577e77..0000000000 --- a/network/rt3xxx/patches/config.mk.diff +++ /dev/null @@ -1,28 +0,0 @@ -diff -Naur a/os/linux/config.mk b/os/linux/config.mk ---- a/os/linux/config.mk 2010-12-17 20:44:47.000000000 +0900 -+++ b/os/linux/config.mk 2011-01-27 04:52:05.753313553 +0900 -@@ -1,18 +1,18 @@ - # Support ATE function --HAS_ATE=n -+HAS_ATE=y - - # Support QA ATE function --HAS_QA_SUPPORT=n -+HAS_QA_SUPPORT=y - - # Support XLINK mode --HAS_XLINK=n -+HAS_XLINK=y - - - # Support Wpa_Supplicant --HAS_WPA_SUPPLICANT=n -+HAS_WPA_SUPPLICANT=y - - # Support Native WpaSupplicant for Network Maganger --HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n -+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y - - #Support Net interface block while Tx-Sw queue full - HAS_BLOCK_NET_IF=n - diff --git a/network/rt3xxx/patches/kill_tftpboot_creation.diff b/network/rt3xxx/patches/kill_tftpboot_creation.diff deleted file mode 100644 index 3eca73d1e4..0000000000 --- a/network/rt3xxx/patches/kill_tftpboot_creation.diff +++ /dev/null @@ -1,69 +0,0 @@ -diff -Nur DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.orig//Makefile DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/Makefile ---- DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.orig//Makefile 2010-12-17 05:44:47.000000000 -0600 -+++ DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/Makefile 2011-01-29 22:54:25.684219265 -0600 -@@ -284,26 +284,23 @@ - endif - - ifeq ($(RT28xx_MODE),AP) -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.o /tftpboot -+ true - ifeq ($(OSABL),YES) -- cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)ap.o /tftpboot -- cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)ap.o /tftpboot -+ true - endif - ifeq ($(PLATFORM),INF_AMAZON_SE) -- cp -f /tftpboot/rt2870ap.o /backup/ifx/build/root_filesystem/lib/modules/2.4.31-Amazon_SE-3.6.2.2-R0416_Ralink/kernel/drivers/net -+ true - endif - else - ifeq ($(RT28xx_MODE),APSTA) -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)apsta.o /tftpboot -+ true - ifeq ($(OSABL),YES) -- cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)apsta.o /tftpboot -- cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)apsta.o /tftpboot -+ true - endif - else -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot -+ true - ifeq ($(OSABL),YES) -- cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)sta.o /tftpboot -- cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)sta.o /tftpboot -+ true - endif - endif - endif -@@ -331,25 +328,22 @@ - endif - - ifeq ($(RT28xx_MODE),AP) -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.ko /tftpboot -+ true - ifeq ($(OSABL),YES) -- cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)ap.ko /tftpboot -- cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)ap.ko /tftpboot -+ true - endif - rm -f os/linux/rt$(CHIPSET)ap.ko.lzma - /root/bin/lzma e os/linux/rt$(CHIPSET)ap.ko os/linux/rt$(CHIPSET)ap.ko.lzma - else - ifeq ($(RT28xx_MODE),APSTA) -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)apsta.ko /tftpboot -+ true - ifeq ($(OSABL),YES) -- cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)apsta.ko /tftpboot -- cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)apsta.ko /tftpboot -+ true - endif - else -- cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot -+ true - ifeq ($(OSABL),YES) -- cp -f $(RT28xx_DIR)/os/linux/rtutil$(CHIPSET)sta.ko /tftpboot -- cp -f $(RT28xx_DIR)/os/linux/rtnet$(CHIPSET)sta.ko /tftpboot -+ true - endif - endif - endif |