slackbuilds_ponce/network/rt3xxx/patches/kill_tftpboot_creation.diff
crocket 1351898b8f network/rt3xxx: Added (driver for rt3xxx chipsets)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-01-30 09:15:30 -06:00

69 lines
2.2 KiB
Diff

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