summaryrefslogtreecommitdiff
path: root/network/rt5370/patches/Makefile.6.util.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/rt5370/patches/Makefile.6.util.diff')
-rw-r--r--network/rt5370/patches/Makefile.6.util.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/network/rt5370/patches/Makefile.6.util.diff b/network/rt5370/patches/Makefile.6.util.diff
new file mode 100644
index 0000000000..a469ef342d
--- /dev/null
+++ b/network/rt5370/patches/Makefile.6.util.diff
@@ -0,0 +1,17 @@
+--- 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.orig/os/linux/Makefile.6.util 2011-07-19 10:56:36.000000000 +0200
++++ 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile.6.util 2012-06-20 14:42:29.777428989 +0200
+@@ -106,10 +106,9 @@
+ endif
+
+ install:
+- install -d $(LINUX_SRC_MODULE)
+- install -m 644 -c $(addsuffix .ko,$(MOD_NAME)) $(LINUX_SRC_MODULE)
+- /sbin/depmod -a ${shell uname -r}
++ install -d $(DESTDIR)/$(LINUX_SRC_MODULE)
++ install -m 644 -c $(addsuffix .ko,$(MOD_NAME)) $(DESTDIR)/$(LINUX_SRC_MODULE)
+
+ uninstall:
+ rm -rf $(addprefix $(LINUX_SRC_MODULE),$(addsuffix .ko,$(MOD_NAME)))
+- /sbin/depmod -a ${shell uname -r}
+\ No newline at end of file
++ /sbin/depmod -a ${shell uname -r}