diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-23 03:42:10 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-27 03:58:49 -0400 |
commit | 88491d8103498a6166f70d5999902fec70924314 (patch) | |
tree | d22646735d94ad81597b535e9e56131cc1896d71 /drivers/net/Makefile | |
parent | 330278cde612888e79fc4ab13d8f725258e903dd (diff) |
drivers/net: Kconfig & Makefile cleanup
The is does a general cleanup of the drivers/net/ Kconfig and
Makefile. This patch create a "core" option and places all
the networking core drivers into this option (default is yes
for this option). In addition, it alphabitizes the Kconfig
driver options.
As a side cleanup, found that the arcnet, token ring, and PHY
Kconfig options were a tri-state option and should have been
a bool option.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/Makefile')
-rw-r--r-- | drivers/net/Makefile | 64 |
1 files changed, 28 insertions, 36 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 99327a4a3f7c..1f52e73547b0 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -2,40 +2,38 @@ | |||
2 | # Makefile for the Linux network device drivers. | 2 | # Makefile for the Linux network device drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_MII) += mii.o | ||
6 | obj-$(CONFIG_MDIO) += mdio.o | ||
7 | obj-$(CONFIG_PHYLIB) += phy/ | ||
8 | obj-$(CONFIG_CAN) += can/ | ||
9 | obj-$(CONFIG_BONDING) += bonding/ | ||
10 | obj-$(CONFIG_VMXNET3) += vmxnet3/ | ||
11 | |||
12 | # | 5 | # |
13 | # link order important here | 6 | # Networking Core Drivers |
14 | # | 7 | # |
15 | obj-$(CONFIG_RIONET) += rionet.o | 8 | obj-$(CONFIG_BONDING) += bonding/ |
16 | |||
17 | # | ||
18 | # end link order section | ||
19 | # | ||
20 | |||
21 | obj-$(CONFIG_NET) += Space.o loopback.o | ||
22 | obj-$(CONFIG_NET_SB1000) += sb1000.o | ||
23 | |||
24 | obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o | ||
25 | obj-$(CONFIG_XEN_NETDEV_BACKEND) += xen-netback/ | ||
26 | |||
27 | obj-$(CONFIG_DUMMY) += dummy.o | 9 | obj-$(CONFIG_DUMMY) += dummy.o |
10 | obj-$(CONFIG_EQUALIZER) += eql.o | ||
28 | obj-$(CONFIG_IFB) += ifb.o | 11 | obj-$(CONFIG_IFB) += ifb.o |
29 | obj-$(CONFIG_MACVLAN) += macvlan.o | 12 | obj-$(CONFIG_MACVLAN) += macvlan.o |
30 | obj-$(CONFIG_MACVTAP) += macvtap.o | 13 | obj-$(CONFIG_MACVTAP) += macvtap.o |
31 | obj-$(CONFIG_EQUALIZER) += eql.o | 14 | obj-$(CONFIG_MII) += mii.o |
15 | obj-$(CONFIG_MDIO) += mdio.o | ||
16 | obj-$(CONFIG_NET) += Space.o loopback.o | ||
17 | obj-$(CONFIG_NETCONSOLE) += netconsole.o | ||
18 | obj-$(CONFIG_PHYLIB) += phy/ | ||
19 | obj-$(CONFIG_RIONET) += rionet.o | ||
32 | obj-$(CONFIG_TUN) += tun.o | 20 | obj-$(CONFIG_TUN) += tun.o |
33 | obj-$(CONFIG_VETH) += veth.o | 21 | obj-$(CONFIG_VETH) += veth.o |
22 | obj-$(CONFIG_VIRTIO_NET) += virtio_net.o | ||
34 | 23 | ||
24 | # | ||
25 | # Networking Drivers | ||
26 | # | ||
27 | obj-$(CONFIG_ARCNET) += arcnet/ | ||
35 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ | 28 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ |
29 | obj-$(CONFIG_CAIF) += caif/ | ||
30 | obj-$(CONFIG_CAN) += can/ | ||
31 | obj-$(CONFIG_ETRAX_ETHERNET) += cris/ | ||
36 | obj-$(CONFIG_ETHERNET) += ethernet/ | 32 | obj-$(CONFIG_ETHERNET) += ethernet/ |
37 | obj-$(CONFIG_FDDI) += fddi/ | 33 | obj-$(CONFIG_FDDI) += fddi/ |
38 | obj-$(CONFIG_HIPPI) += hippi/ | 34 | obj-$(CONFIG_HIPPI) += hippi/ |
35 | obj-$(CONFIG_HAMRADIO) += hamradio/ | ||
36 | obj-$(CONFIG_IRDA) += irda/ | ||
39 | obj-$(CONFIG_PLIP) += plip/ | 37 | obj-$(CONFIG_PLIP) += plip/ |
40 | onj-$(CONFIG_PPP) += ppp/ | 38 | onj-$(CONFIG_PPP) += ppp/ |
41 | obj-$(CONFIG_PPP_ASYNC) += ppp/ | 39 | obj-$(CONFIG_PPP_ASYNC) += ppp/ |
@@ -48,9 +46,17 @@ obj-$(CONFIG_PPPOL2TP) += ppp/ | |||
48 | obj-$(CONFIG_PPTP) += ppp/ | 46 | obj-$(CONFIG_PPTP) += ppp/ |
49 | onj-$(CONFIG_SLIP) += slip/ | 47 | onj-$(CONFIG_SLIP) += slip/ |
50 | obj-$(CONFIG_SLHC) += slip/ | 48 | obj-$(CONFIG_SLHC) += slip/ |
49 | obj-$(CONFIG_NET_SB1000) += sb1000.o | ||
50 | onj-$(CONFIG_SLIP) += slip/ | ||
51 | obj-$(CONFIG_SUNGEM_PHY) += sungem_phy.o | ||
51 | obj-$(CONFIG_TR) += tokenring/ | 52 | obj-$(CONFIG_TR) += tokenring/ |
52 | obj-$(CONFIG_WAN) += wan/ | 53 | obj-$(CONFIG_WAN) += wan/ |
53 | obj-$(CONFIG_ARCNET) += arcnet/ | 54 | obj-$(CONFIG_WLAN) += wireless/ |
55 | obj-$(CONFIG_WIMAX) += wimax/ | ||
56 | |||
57 | obj-$(CONFIG_VMXNET3) += vmxnet3/ | ||
58 | obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o | ||
59 | obj-$(CONFIG_XEN_NETDEV_BACKEND) += xen-netback/ | ||
54 | 60 | ||
55 | obj-$(CONFIG_USB_CATC) += usb/ | 61 | obj-$(CONFIG_USB_CATC) += usb/ |
56 | obj-$(CONFIG_USB_KAWETH) += usb/ | 62 | obj-$(CONFIG_USB_KAWETH) += usb/ |
@@ -61,17 +67,3 @@ obj-$(CONFIG_USB_USBNET) += usb/ | |||
61 | obj-$(CONFIG_USB_ZD1201) += usb/ | 67 | obj-$(CONFIG_USB_ZD1201) += usb/ |
62 | obj-$(CONFIG_USB_IPHETH) += usb/ | 68 | obj-$(CONFIG_USB_IPHETH) += usb/ |
63 | obj-$(CONFIG_USB_CDC_PHONET) += usb/ | 69 | obj-$(CONFIG_USB_CDC_PHONET) += usb/ |
64 | |||
65 | obj-$(CONFIG_WLAN) += wireless/ | ||
66 | obj-$(CONFIG_HAMRADIO) += hamradio/ | ||
67 | obj-$(CONFIG_IRDA) += irda/ | ||
68 | obj-$(CONFIG_ETRAX_ETHERNET) += cris/ | ||
69 | |||
70 | obj-$(CONFIG_NETCONSOLE) += netconsole.o | ||
71 | |||
72 | obj-$(CONFIG_VIRTIO_NET) += virtio_net.o | ||
73 | |||
74 | obj-$(CONFIG_WIMAX) += wimax/ | ||
75 | obj-$(CONFIG_CAIF) += caif/ | ||
76 | |||
77 | obj-$(CONFIG_SUNGEM_PHY) += sungem_phy.o | ||