mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
71040f50ae
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
20 lines
825 B
Diff
20 lines
825 B
Diff
--- 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.orig/os/linux/Makefile.4 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 2012-06-20 14:34:49.503183209 +0200
|
|
@@ -266,13 +266,10 @@
|
|
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 .o,$(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 .o,$(MOD_NAME)) $(DESTDIR)/$(LINUX_SRC_MODULE)
|
|
|
|
uninstall:
|
|
# rm -rf $(DAT_PATH)
|