summaryrefslogtreecommitdiff
path: root/network/rt5370/patches/Makefile.4.netif.diff
blob: 8a7a7f744f4e3a0617a9123c189b41800e4a81e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.orig/os/linux/Makefile.4.netif	2011-07-19 10:56:36.000000000 +0200
+++ 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile.4.netif	2012-06-20 14:37:13.111387859 +0200
@@ -362,9 +362,8 @@
 endif
 
 install:
-	install -d $(LINUX_SRC_MODULE)
-	install -m 644 -c $(addsuffix .o,$(MOD_NAME)) $(LINUX_SRC_MODULE)
-	/sbin/depmod -a ${shell uname -r}
+	install -d $(DESTDIR)/$(LINUX_SRC_MODULE)
+	install -m 644 -c $(addsuffix .o,$(MOD_NAME)) $(DESTDIR)/$(LINUX_SRC_MODULE)
 
 uninstall:
 	rm -rf $(addprefix $(LINUX_SRC_MODULE),$(addsuffix .o,$(MOD_NAME)))