diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2007-02-26 15:25:26 +0000 |
---|---|---|
committer | Oyvind Repvik <nail@nslu2-linux.org> | 2007-02-26 15:25:26 +0000 |
commit | 901e7257791f529bd5e502f35a5f7785b5b3fc88 (patch) | |
tree | 062381d65f9e46b785de039e9c9063ffb245761e /packages/zd1211/zd1211-r85/makefile-unslung.patch | |
parent | f2ed01f2fa999207df71846d58f719e77f297e83 (diff) |
zd1211: Upstream upgrade to -r85. Fixes problem in recent kernels
Diffstat (limited to 'packages/zd1211/zd1211-r85/makefile-unslung.patch')
-rw-r--r-- | packages/zd1211/zd1211-r85/makefile-unslung.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/packages/zd1211/zd1211-r85/makefile-unslung.patch b/packages/zd1211/zd1211-r85/makefile-unslung.patch new file mode 100644 index 0000000000..bc189e823f --- /dev/null +++ b/packages/zd1211/zd1211-r85/makefile-unslung.patch @@ -0,0 +1,48 @@ +--- zd1211-driver-r83.orig/Makefile 2006-07-09 04:59:42.000000000 -0500 ++++ zd1211-driver-r83/Makefile 2006-10-21 16:27:41.000000000 -0500 +@@ -4,25 +4,25 @@ + # + # + +-CC=gcc +-CPP=g++ +-LD=ld ++CC ?= gcc ++CPP ?= g++ ++LD ?= ld + rM=rm -f -r + + VERSION := $(shell uname -r) +-MODPATH := /lib/modules/$(VERSION) ++MODPATH ?= /lib/modules/$(VERSION) + + # if the kernel is 2.6.x, turn on this +-KERN_26=y ++#KERN_26=y + +-KERNEL_SOURCE=$(MODPATH)/source ++KERNEL_SOURCE ?= $(MODPATH)/source + #KERNEL_SOURCE=/usr/src/linux + + # set to 1 for zd1211b + ZD1211REV_B=0 + + SRC_DIR=src +-DEFINES=-D__KERNEL__ -DMODULE=1 ++DEFINES ?= -D__KERNEL__ -DMODULE=1 + + + +@@ -228,9 +228,9 @@ + depmod -a $(VERSION) + + #for apdbg +- gcc -o apdbg apdbg.c +- chmod +x apdbg +- cp ./apdbg /sbin/apdbg ++# gcc -o apdbg apdbg.c ++# chmod +x apdbg ++# cp ./apdbg /sbin/apdbg + + clean: + rm -rf .tmp_versions .*.cmd *.ko *.mod.c *.mod.o *.o $(SRC_DIR)/*.o $(SRC_DIR)/.*.o.cmd |