summaryrefslogtreecommitdiff
path: root/network/rt3xxx/patches/kill_tftpboot_creation.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/rt3xxx/patches/kill_tftpboot_creation.diff')
-rw-r--r--network/rt3xxx/patches/kill_tftpboot_creation.diff69
1 files changed, 69 insertions, 0 deletions
diff --git a/network/rt3xxx/patches/kill_tftpboot_creation.diff b/network/rt3xxx/patches/kill_tftpboot_creation.diff
new file mode 100644
index 0000000000..3eca73d1e4
--- /dev/null
+++ b/network/rt3xxx/patches/kill_tftpboot_creation.diff
@@ -0,0 +1,69 @@
+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