ar7: clocks setup (prerequisite for dsl/usb) and misc cleanups.
[openwrt.git] / package / ar7-atm / patches / 100-compile_fix.patch
1 diff -ur sangam.old/Makefile sangam.dev/Makefile
2 --- sangam.old/Makefile 2006-10-17 16:43:09.000000000 +0200
3 +++ sangam.dev/Makefile 2006-10-24 15:34:14.000000000 +0200
4 @@ -1,17 +1,15 @@
5 -# File: drivers/net/avalanche_cpmac/Makefile
6 #
7 -# Makefile for the Linux network (CPMAC) device drivers.
8 +# Makefile for the TIATM device drivers.
9 #
10
11 -
12 O_TARGET := tiatm.o
13 +obj-m := tiatm.o
14 +
15 +tiatm-objs += tn7atm.o tn7dsl.o tn7sar.o dsl_hal_api.o dsl_hal_support.o cpsar.o aal5sar.o
16 +EXTRA_CFLAGS += -DEL -I. -DPOST_SILICON -DCOMMON_NSP -DCONFIG_LED_MODULE -DDEREGISTER_LED -DNO_ACT
17
18 -obj-m += tiatm.o
19 -tiatm-objs := tn7atm.o tn7dsl.o tn7sar.o dsl_hal_api.o dsl_hal_support.o cpsar.o aal5sar.o
20 +include $(TOPDIR)/Rules.make
21
22 tiatm.o: $(tiatm-objs)
23 - $(LD) $(LDOPTS) -o wlan.$(KMODSUF) -r $(tiatm-objs)
24 -
25 -EXTRA_CFLAGS += -DEL -I. -DPOST_SILICON -DCOMMON_NSP -DCONFIG_LED_MODULE -DDEREGISTER_LED -DNO_ACT
26 + $(LD) -r $(LDOPTS) -o $@ $(tiatm-objs)
27
28 --include $(TOPDIR)/Rules.make
This page took 0.048727 seconds and 5 git commands to generate.