diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2006-09-02 14:09:04 +0000 |
---|---|---|
committer | Oyvind Repvik <nail@nslu2-linux.org> | 2006-09-02 14:09:04 +0000 |
commit | d3e9d5b3b92c0f04dc1c73ea94758ed974e3d8b9 (patch) | |
tree | af6ddae93a0cb73b33aebc5198032958ae8cdca1 /packages/zd1211/zd1211-r83/makefile.patch | |
parent | 70d51b7ba86e3f532d70a37eef04d16014a451b3 (diff) |
zd1211: Remove deprecated versions, update to rev83
Diffstat (limited to 'packages/zd1211/zd1211-r83/makefile.patch')
-rw-r--r-- | packages/zd1211/zd1211-r83/makefile.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/zd1211/zd1211-r83/makefile.patch b/packages/zd1211/zd1211-r83/makefile.patch new file mode 100644 index 0000000000..adc2bd416d --- /dev/null +++ b/packages/zd1211/zd1211-r83/makefile.patch @@ -0,0 +1,47 @@ +--- zd1211-driver-r83/Makefile.orig 2006-09-02 16:00:00.000000000 +0200 ++++ zd1211-driver-r83/Makefile 2006-09-02 16:01:57.000000000 +0200 +@@ -4,10 +4,10 @@ + # + # + +-CC=gcc +-CPP=g++ +-LD=ld +-rM=rm -f -r ++#CC=gcc ++#CPP=g++ ++#LD=ld ++#rM=rm -f -r + + VERSION := $(shell uname -r) + MODPATH := /lib/modules/$(VERSION) +@@ -15,14 +15,14 @@ + # if the kernel is 2.6.x, turn on this + 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 |