--- ./Makefile.orig 2008-05-17 14:37:27.000000000 +0200 +++ ./Makefile 2008-05-17 14:37:43.000000000 +0200 @@ -84,10 +84,6 @@ install: install-modules install-tools install-modules: - @# check if there are modules left from an old installation - @# might cause make to abort the build - sh scripts/find-madwifi-modules.sh $(KERNELRELEASE) $(DESTDIR) - for i in $(obj-y); do \ $(MAKE) -C $$i install || exit 1; \ done --- ./Makefile.inc.orig 2007-01-18 09:26:23.000000000 +0100 +++ ./Makefile.inc 2008-05-17 13:33:45.000000000 +0200 @@ -60,7 +60,7 @@ # running kernel was compiled. Note that the configuration and the # version of the kernel tree might have changed since then. ifeq ($(wildcard $(KERNELPATH)),) -KERNELPATH = /lib/modules/$(shell uname -r)/build +KERNELPATH = /usr/src/linux # sanity check: does KERNELPATH exist? ifeq ($(shell cd $(KERNELPATH) && pwd),) $(error $(KERNELPATH) is missing, please set KERNELPATH) --- ./tools/Makefile.orig 2007-11-13 10:24:57.000000000 +0100 +++ ./tools/Makefile 2008-05-17 13:33:45.000000000 +0200 @@ -34,8 +34,8 @@ STRIP ?= $(USER_CROSS_COMPILE)strip CC = $(USER_CROSS_COMPILE)gcc -BINDIR ?= /usr/local/bin -MANDIR ?= /usr/local/man +BINDIR ?= /usr/bin +MANDIR ?= /usr/man # # Path to the HAL source code.