summaryrefslogtreecommitdiff
path: root/packages/zd1211/zd1211-r52/makefile.patch
blob: 9ec821daa18adbf2347d6bbeab96a007ebe512cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
--- zd1211-driver-r52/Makefile.orig	2006-01-22 11:32:24.000000000 +0100
+++ zd1211-driver-r52/Makefile	2006-01-22 12:37:17.000000000 +0100
@@ -4,17 +4,17 @@
 #
 #
 
-CC=gcc
-CPP=g++
-LD=ld
-rM=rm -f -r
+#CC=gcc
+#CPP=g++
+#LD=ld
+#RM=rm -f -r
 
-MODPATH := /lib/modules/$(shell uname -r)
+#MODPATH := /lib/modules/$(shell uname -r)
 
 # 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
@@ -46,7 +46,7 @@
 EXTRA_CFLAGS += -D__SMP__ -DSMP
 endif
 
-KDIR := $(MODPATH)/build
+#KDIR := $(MODPATH)/build
 PWD := $(shell pwd)
 
 WLAN_SRC=$(PWD)
@@ -219,15 +219,15 @@
 	
 
 install: all
-	mkdir -p $(MODPATH)/net
+#	mkdir -p $(MODPATH)/net
 #	mkdir -p /etc/zd1211
-	cp $(MODULE) $(MODPATH)/net
-	depmod -a
+#	cp $(MODULE) $(MODPATH)/net
+#	depmod -a
 
 #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