diff options
Diffstat (limited to 'network/rt3xxx/patches/Makefile.6.diff')
-rw-r--r-- | network/rt3xxx/patches/Makefile.6.diff | 37 |
1 files changed, 0 insertions, 37 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. - |