aboutsummaryrefslogtreecommitdiffstats
path: root/package/ar7-atm
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-24 13:42:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-24 13:42:03 +0000
commitb68b0ad90f67e30f762fbfb7a2ce13ddf6b67c2d (patch)
tree4a95ab2cd4c1d658b8ae0b22f35ba4d5e0f26985 /package/ar7-atm
parent9112bae18f71144a8578dc84c99284e54c098f1f (diff)
downloadupstream-b68b0ad90f67e30f762fbfb7a2ce13ddf6b67c2d.tar.gz
upstream-b68b0ad90f67e30f762fbfb7a2ce13ddf6b67c2d.tar.bz2
upstream-b68b0ad90f67e30f762fbfb7a2ce13ddf6b67c2d.zip
fix tiatm compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ar7-atm')
-rw-r--r--package/ar7-atm/patches/100-compile_fix.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/ar7-atm/patches/100-compile_fix.patch b/package/ar7-atm/patches/100-compile_fix.patch
new file mode 100644
index 0000000000..46b0b0c485
--- /dev/null
+++ b/package/ar7-atm/patches/100-compile_fix.patch
@@ -0,0 +1,28 @@
+diff -ur sangam.old/Makefile sangam.dev/Makefile
+--- sangam.old/Makefile 2006-10-17 16:43:09.000000000 +0200
++++ sangam.dev/Makefile 2006-10-24 15:34:14.000000000 +0200
+@@ -1,17 +1,15 @@
+-# File: drivers/net/avalanche_cpmac/Makefile
+ #
+-# Makefile for the Linux network (CPMAC) device drivers.
++# Makefile for the TIATM device drivers.
+ #
+
+-
+ O_TARGET := tiatm.o
++obj-m := tiatm.o
++
++tiatm-objs += tn7atm.o tn7dsl.o tn7sar.o dsl_hal_api.o dsl_hal_support.o cpsar.o aal5sar.o
++EXTRA_CFLAGS += -DEL -I. -DPOST_SILICON -DCOMMON_NSP -DCONFIG_LED_MODULE -DDEREGISTER_LED -DNO_ACT
+
+-obj-m += tiatm.o
+-tiatm-objs := tn7atm.o tn7dsl.o tn7sar.o dsl_hal_api.o dsl_hal_support.o cpsar.o aal5sar.o
++include $(TOPDIR)/Rules.make
+
+ tiatm.o: $(tiatm-objs)
+- $(LD) $(LDOPTS) -o wlan.$(KMODSUF) -r $(tiatm-objs)
+-
+-EXTRA_CFLAGS += -DEL -I. -DPOST_SILICON -DCOMMON_NSP -DCONFIG_LED_MODULE -DDEREGISTER_LED -DNO_ACT
++ $(LD) -r $(LDOPTS) -o $@ $(tiatm-objs)
+
+--include $(TOPDIR)/Rules.make