upgrade wireless-tools and iproute2
[openwrt/svn-archive/archive.git] / openwrt / package / linux / kernel-patches / 022-drivers_net_Makefile
1 --- ../../../kernel/linux-mips-cvs/drivers/net/Makefile 2004-08-14 20:38:51.000000000 +0200
2 +++ linux/drivers/net/Makefile 2005-03-16 12:45:24.523263597 +0100
3 @@ -21,6 +21,16 @@
4 list-multi := rcpci.o
5 rcpci-objs := rcpci45.o rclanmtl.o
6
7 +subdir-m += diag
8 +
9 +ifeq ($(CONFIG_HW_QOS),y)
10 +subdir-m += port_based_qos
11 +else
12 + ifeq ($(CONFIG_PERFORMANCE),y)
13 + subdir-m += port_based_qos
14 + endif
15 +endif
16 +
17 ifeq ($(CONFIG_TULIP),y)
18 obj-y += tulip/tulip.o
19 endif
20 @@ -265,6 +275,28 @@
21 endif
22 endif
23
24 +#
25 +# Broadcom HND devices
26 +#
27 +ifdef CONFIG_HND
28 +subdir-$(CONFIG_HND) += hnd
29 +endif
30 +ifdef CONFIG_ET
31 +subdir-$(CONFIG_ET) += et
32 +endif
33 +ifdef CONFIG_WL
34 +subdir-$(CONFIG_WL) += wl
35 +endif
36 +ifeq ($(CONFIG_HND),y)
37 + obj-y += hnd/hnd.o
38 +endif
39 +ifeq ($(CONFIG_ET),y)
40 + obj-y += et/et.o
41 +endif
42 +ifeq ($(CONFIG_WL),y)
43 + obj-y += wl/wl.o
44 +endif
45 +
46 include $(TOPDIR)/Rules.make
47
48 clean: