summaryrefslogtreecommitdiff
path: root/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch
blob: c90c778703b3f67fd2a33be907bab49254f7ef68 (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
diff -Nurd atmelwlandriver-3.4.1.0/src/Pcmcia_Pci/Makefile atmelwlandriver-3.4.1.0-hh/src/Pcmcia_Pci/Makefile
--- atmelwlandriver-3.4.1.0/src/Pcmcia_Pci/Makefile	2004-11-10 01:40:50.000000000 -0800
+++ atmelwlandriver-3.4.1.0-hh/src/Pcmcia_Pci/Makefile	2005-11-30 11:48:20.830290096 -0800
@@ -65,7 +65,7 @@
 	@for i in $(PCMCIA-y); do make $$i || exit 1; done
 
 final: $(objs) $(DEBUGORNO) fastvnet_cs.o
-	ld -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs)
+	$(LD) -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs)
 	nm $(OBJDIR)/$(MODULE).o |sort -u >$(OBJDIR)/$(patsubst %.o,%.map,$(MODULE).o); 
 
 rfmdD:
@@ -206,9 +206,9 @@
 
 fastvnet_cs.o:fastvnet_cs.c $(INC)/pcmcia/vnet.h
 ifeq	'$(NEW_KERN)' 'y' 
-	$(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c fastvnet_cs.c -o fastvnet_cs.o
+	$(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c fastvnet_cs.c
 else	
-	$(CC) $(CFLAGS) -DMODULE -c fastvnet_cs.c -o fastvnet_cs.o
+	$(CC) $(CFLAGS) -DMODULE -c fastvnet_cs.c
 endif
 
 clean:
diff -Nurd atmelwlandriver-3.4.1.0/src/usb/Makefile atmelwlandriver-3.4.1.0-hh/src/usb/Makefile
--- atmelwlandriver-3.4.1.0/src/usb/Makefile	2004-11-10 01:40:50.000000000 -0800
+++ atmelwlandriver-3.4.1.0-hh/src/usb/Makefile	2005-11-30 11:48:45.517730782 -0800
@@ -40,7 +40,7 @@
 	for i in $(USB-y); do make $$i || exit 1; done
 
 final:$(objs) vnetusba.o
-	ld -r -o $(OBJDIR)/$(MODULE).o vnetusba.o $(objs)
+	${LD} -r -o $(OBJDIR)/$(MODULE).o vnetusba.o $(objs)
 	@nm $(OBJDIR)/$(MODULE).o |sort >../$(patsubst %.o,%.map, $(MODULE).o);
 
 
@@ -143,7 +143,7 @@
 callbacks.o : $(INC)/usb/$(fws)
 vnetusba.o : vnetusba.c $(INC)/usb/vnetusba.h
 ifeq	'$(NEW_KERN)' 'y' 
-	$(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c vnetusba.c -o vnetusba.o
+	$(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c vnetusba.c
 else
 	$(CC) $(CFLAGS) -DMODULE -c vnetusba.c