aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2008-01-30 04:19:07 -0500
committerLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2008-01-30 04:19:07 -0500
commit5652a3e7718031f835f0e585c8e885d7b20f06c5 (patch)
tree6c69ab58839dec281ffc24ace646eea039fb9927
parent24a0f1a5733d1867e76259f0d82ade0922037658 (diff)
downloadcompat-wireless-2.6-old-5652a3e7718031f835f0e585c8e885d7b20f06c5.tar.gz
"make install" depends on "uninstall". When "make install" is run for the first
time the scripts athenable and b43enable have not yet been placed in their expected location (/usr/sbin). This causes the build to fail when uninstall tries to use these scripts. Change the uninstall rule to only use these scripts if they exist in their expected location. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8235315..0219eff 100644
--- a/Makefile
+++ b/Makefile
@@ -124,6 +124,8 @@ uninstall:
@# on the misc directory.
@rm -f $(KLIB)/$(KMODDIR)/drivers/misc/eeprom_93cx6.ko
@depmod -ae
+ @if [ -x /usr/sbin/athenable ]; then /usr/sbin/athenable madwifi; fi
+ @if [ -x /usr/sbin/b43enable ]; then /usr/sbin/b43enable bcm43xx; fi
@/usr/sbin/athenable madwifi
@/usr/sbin/b43enable bcm43xx
@echo