summaryrefslogtreecommitdiff
path: root/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch')
-rw-r--r--packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch
new file mode 100644
index 0000000000..c90c778703
--- /dev/null
+++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch
@@ -0,0 +1,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
+