summaryrefslogtreecommitdiff
path: root/openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix')
-rw-r--r--openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix28
1 files changed, 28 insertions, 0 deletions
diff --git a/openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix b/openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix
new file mode 100644
index 0000000000..8abeccce73
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix
@@ -0,0 +1,28 @@
+--- linux-mips-cvs-21012005/net/core/Makefile 2004-11-19 01:28:53.000000000 +0100
++++ linux-broadcom/net/core/Makefile 2005-01-26 15:56:36.000000000 +0100
+@@ -9,7 +9,11 @@
+
+ O_TARGET := core.o
+
++ifeq ($(CONFIG_BCM4710),y)
++export-objs := netfilter.o profile.o neighbour.o
++else
+ export-objs := netfilter.o profile.o ethtool.o neighbour.o
++endif
+
+ obj-y := sock.o skbuff.o iovec.o datagram.o scm.o
+
+@@ -21,8 +25,13 @@
+
+ obj-$(CONFIG_FILTER) += filter.o
+
++ifeq ($(CONFIG_BCM4710),y)
++obj-$(CONFIG_NET) += dev.o dev_mcast.o dst.o neighbour.o \
++ rtnetlink.o utils.o
++else
+ obj-$(CONFIG_NET) += dev.o ethtool.o dev_mcast.o dst.o neighbour.o \
+ rtnetlink.o utils.o
++endif
+
+ obj-$(CONFIG_NETFILTER) += netfilter.o
+ obj-$(CONFIG_NET_DIVERT) += dv.o