[Debian-eeepc-devel] [SCM] rt2860 source for the ralink wireless chip in the eeepc 901. branch, master, updated. bc9c55f756cd0b4e03182e590c0703b090994dd1

Damyan Ivanov dmn at debian.org
Tue Sep 2 12:04:47 UTC 2008


The following commit has been merged in the master branch:
commit bc9c55f756cd0b4e03182e590c0703b090994dd1
Author: Damyan Ivanov <dmn at debian.org>
Date:   Tue Sep 2 14:53:46 2008 +0300

    add 04_clean-install.patch
    
    prevents '$(MAKE) install' from:
    * polluting build system's /etc directory (ouch!)
    * needlessly running depmod on the build system (the .ko
      is not yet in system's /lib at that time)

diff --git a/rt2860-1.7.0.0/debian/patches/04_clean-install.patch b/rt2860-1.7.0.0/debian/patches/04_clean-install.patch
new file mode 100644
index 0000000..78e219f
--- /dev/null
+++ b/rt2860-1.7.0.0/debian/patches/04_clean-install.patch
@@ -0,0 +1,20 @@
+# Do not install anything in build system's /etc directory, please
+# also, no point of running depmod as the module is not yet in /lib
+--- a/os/linux/Makefile.6
++++ b/os/linux/Makefile.6
+@@ -75,15 +75,8 @@ clean:
+ 	rm -f ../../sta/.*.{cmd,flags,d}
+ 
+ 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}
+ 
+ uninstall:
+-#	rm -rf $(DAT_PATH)
+ 	rm -rf $(addprefix $(LINUX_SRC_MODULE),$(addsuffix .ko,$(MOD_NAME)))
+-	/sbin/depmod -a ${shell uname -r}
diff --git a/rt2860-1.7.0.0/debian/patches/series b/rt2860-1.7.0.0/debian/patches/series
index 3b0762d..7301989 100644
--- a/rt2860-1.7.0.0/debian/patches/series
+++ b/rt2860-1.7.0.0/debian/patches/series
@@ -1,3 +1,4 @@
 01_remove-tft-lines-from-makefile.patch
 02_Fix-compilation-for-2.6.26.patch
 03_wpa-fix.patch
+04_clean-install.patch

-- 
rt2860 source for the ralink wireless chip in the eeepc 901.



More information about the Debian-eeepc-devel mailing list