|
--- ./Makefile.orig 2007-03-07 09:39:40.000000000 +0100
|
|
+++ ./Makefile 2007-12-01 08:29:11.000000000 +0100
|
|
@@ -86,16 +86,9 @@
|
|
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 $(DIRS_MODULES); do \
|
|
$(MAKE) -C $$i install || exit 1; \
|
|
done
|
|
-ifeq ($(DESTDIR),)
|
|
- (export KMODPATH=$(KMODPATH); /sbin/depmod -ae $(KERNELRELEASE))
|
|
-endif
|
|
|
|
install-tools:
|
|
$(MAKE) -C $(TOOLS) install || exit 1
|
|
--- ./Makefile.inc.orig 2007-01-18 09:26:23.000000000 +0100
|
|
+++ ./Makefile.inc 2007-12-01 08:23:38.000000000 +0100
|
|
@@ -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-02-07 04:18:49.000000000 +0100
|
|
+++ ./tools/Makefile 2007-12-01 08:23:38.000000000 +0100
|
|
@@ -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.
|