diff options
author | Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> | 2007-12-07 15:29:56 -0500 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> | 2007-12-07 15:29:56 -0500 |
commit | 7f865d8f7bd75c9a87d6df4049991e9df0c57c39 (patch) | |
tree | 128a292c164606c7403146553cad02373c0b971f | |
parent | c3464af325e0e7d6ebe4a37b4ccd2ceeed36ae85 (diff) | |
download | compat-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-- | Makefile | 6 | ||||
-rw-r--r-- | README | 17 |
2 files changed, 12 insertions, 11 deletions
@@ -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/ \ @@ -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 ------- |