aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2007-12-07 15:29:56 -0500
committerLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2007-12-07 15:29:56 -0500
commit7f865d8f7bd75c9a87d6df4049991e9df0c57c39 (patch)
tree128a292c164606c7403146553cad02373c0b971f
parentc3464af325e0e7d6ebe4a37b4ccd2ceeed36ae85 (diff)
downloadcompat-wireless-2.6-old-7f865d8f7bd75c9a87d6df4049991e9df0c57c39.tar.gz
* Fix build by switching COPTs to go in NOSTDINC_FLAGS instead of CFLAGS,
this wasn't being picked up. Now it should be. * Lets you build external kernels now, usage: make KLIB=/home/mcgrof/kernels/linux-2.6.23.9 KLIB_BUILD=/home/mcgrof/kernels/linux-2.6.23.9 Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
-rw-r--r--Makefile6
-rw-r--r--README17
2 files changed, 12 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 4ea83a5..4e81c89 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ KMODPATH_ARG:= "INSTALL_MOD_PATH=$(KLIB)"
else
KLIB:= /lib/modules/$(shell uname -r)
endif
-KLIB_BUILD := $(KLIB)/build
+KLIB_BUILD ?= $(KLIB)/build
MADWIFI=$(shell modprobe -l ath_pci)
ifneq ($(KERNELRELEASE),)
@@ -13,9 +13,7 @@ ifneq ($(KERNELRELEASE),)
include $(src)/config.mk
export $(COPTS)
-COMPAT_WIRELESS=$(HOME)/devel/compat-wireless-2.6
-EXTRA_CFLAGS += $(COPTS)
-NOSTDINC_FLAGS := -I$(PWD)/include/ -include $(M)/include/net/compat.h $(CFLAGS)
+NOSTDINC_FLAGS := -I$(PWD)/include/ -include $(M)/include/net/compat.h $(COPTS) $(CFLAGS)
obj-y := net/wireless/ net/mac80211/ net/ieee80211/ \
drivers/ssb/ \
diff --git a/README b/README
index 3183fdc..343d5b6 100644
--- a/README
+++ b/README
@@ -188,6 +188,14 @@ How about compatibility work for kernels < 2.6.22 ?
Sure, feel free to send patches. The main work was designed to support
kernels >= 2.6.22 as that was when mac80211 was introduced.
+Building for external kernels
+----------------------------------
+
+If you have a kernel you do not have installed but yet want to build the
+compat-wireless-2.6 drivers for it you can use this syntax:
+
+make KLIB=/home/mcgrof/kernels/linux-2.6.23.9 KLIB_BUILD=/home/mcgrof/kernels/linux-2.6.23.9
+
Bugs
-----
@@ -204,14 +212,9 @@ ChangeLog
Here you see the list of changes to all wireless drivers, the wireless core and mac80211.
- * Driver changes:
-http://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git;a=history;f=drivers/net/wireless;
-
- * Wireless core changes:
-http://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git;a=history;f=net/wireless;
+http://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git;a=log;h=everything
- * mac80211 changes:
-http://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git;a=history;f=net/mac80211;
+This views all the changes on the 'everything' branch of wireless-2.6.git.
License
-------