"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@xxxxxxxxx> --- Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 6603ba6..7608199 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 -- 1.5.3.4 - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html