Add a config var matching the package dir name
[openwrt.git] / openwrt / package / linux / kernel-patches / 202-net_core_Makefile.patch
1 --- linux-mips-cvs-21012005/net/core/Makefile 2004-11-19 01:28:53.000000000 +0100
2 +++ linux-broadcom/net/core/Makefile 2005-01-26 15:56:36.000000000 +0100
3 @@ -9,7 +9,11 @@
4
5 O_TARGET := core.o
6
7 +ifeq ($(CONFIG_BCM4710),y)
8 +export-objs := netfilter.o profile.o neighbour.o
9 +else
10 export-objs := netfilter.o profile.o ethtool.o neighbour.o
11 +endif
12
13 obj-y := sock.o skbuff.o iovec.o datagram.o scm.o
14
15 @@ -21,8 +25,13 @@
16
17 obj-$(CONFIG_FILTER) += filter.o
18
19 +ifeq ($(CONFIG_BCM4710),y)
20 +obj-$(CONFIG_NET) += dev.o dev_mcast.o dst.o neighbour.o \
21 + rtnetlink.o utils.o
22 +else
23 obj-$(CONFIG_NET) += dev.o ethtool.o dev_mcast.o dst.o neighbour.o \
24 rtnetlink.o utils.o
25 +endif
26
27 obj-$(CONFIG_NETFILTER) += netfilter.o
28 obj-$(CONFIG_NET_DIVERT) += dv.o
This page took 0.041501 seconds and 5 git commands to generate.