xref: /openbmc/linux/net/Makefile (revision 275876e2)
1#
2# Makefile for the linux networking.
3#
4# 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
5# Rewritten to use lists instead of if-statements.
6#
7
8obj-y	:= nonet.o
9
10obj-$(CONFIG_NET)		:= socket.o core/
11
12tmp-$(CONFIG_COMPAT) 		:= compat.o
13obj-$(CONFIG_NET)		+= $(tmp-y)
14
15# LLC has to be linked before the files in net/802/
16obj-$(CONFIG_LLC)		+= llc/
17obj-$(CONFIG_NET)		+= ethernet/ 802/ sched/ netlink/
18obj-$(CONFIG_NETFILTER)		+= netfilter/
19obj-$(CONFIG_INET)		+= ipv4/
20obj-$(CONFIG_XFRM)		+= xfrm/
21obj-$(CONFIG_UNIX)		+= unix/
22obj-$(CONFIG_NET)		+= ipv6/
23obj-$(CONFIG_PACKET)		+= packet/
24obj-$(CONFIG_NET_KEY)		+= key/
25obj-$(CONFIG_BRIDGE)		+= bridge/
26obj-$(CONFIG_NET_DSA)		+= dsa/
27obj-$(CONFIG_IPX)		+= ipx/
28obj-$(CONFIG_ATALK)		+= appletalk/
29obj-$(CONFIG_X25)		+= x25/
30obj-$(CONFIG_LAPB)		+= lapb/
31obj-$(CONFIG_NETROM)		+= netrom/
32obj-$(CONFIG_ROSE)		+= rose/
33obj-$(CONFIG_AX25)		+= ax25/
34obj-$(CONFIG_CAN)		+= can/
35obj-$(CONFIG_IRDA)		+= irda/
36obj-$(CONFIG_BT)		+= bluetooth/
37obj-$(CONFIG_SUNRPC)		+= sunrpc/
38obj-$(CONFIG_AF_RXRPC)		+= rxrpc/
39obj-$(CONFIG_ATM)		+= atm/
40obj-$(CONFIG_L2TP)		+= l2tp/
41obj-$(CONFIG_DECNET)		+= decnet/
42obj-$(CONFIG_PHONET)		+= phonet/
43ifneq ($(CONFIG_VLAN_8021Q),)
44obj-y				+= 8021q/
45endif
46obj-$(CONFIG_IP_DCCP)		+= dccp/
47obj-$(CONFIG_IP_SCTP)		+= sctp/
48obj-$(CONFIG_RDS)		+= rds/
49obj-$(CONFIG_WIRELESS)		+= wireless/
50obj-$(CONFIG_MAC80211)		+= mac80211/
51obj-$(CONFIG_TIPC)		+= tipc/
52obj-$(CONFIG_NETLABEL)		+= netlabel/
53obj-$(CONFIG_IUCV)		+= iucv/
54obj-$(CONFIG_RFKILL)		+= rfkill/
55obj-$(CONFIG_NET_9P)		+= 9p/
56obj-$(CONFIG_CAIF)		+= caif/
57ifneq ($(CONFIG_DCB),)
58obj-y				+= dcb/
59endif
60obj-$(CONFIG_6LOWPAN)		+= 6lowpan/
61obj-$(CONFIG_IEEE802154)	+= ieee802154/
62obj-$(CONFIG_MAC802154)		+= mac802154/
63
64ifeq ($(CONFIG_NET),y)
65obj-$(CONFIG_SYSCTL)		+= sysctl_net.o
66endif
67obj-$(CONFIG_WIMAX)		+= wimax/
68obj-$(CONFIG_DNS_RESOLVER)	+= dns_resolver/
69obj-$(CONFIG_CEPH_LIB)		+= ceph/
70obj-$(CONFIG_BATMAN_ADV)	+= batman-adv/
71obj-$(CONFIG_NFC)		+= nfc/
72obj-$(CONFIG_OPENVSWITCH)	+= openvswitch/
73obj-$(CONFIG_VSOCKETS)	+= vmw_vsock/
74obj-$(CONFIG_NET_MPLS_GSO)	+= mpls/
75obj-$(CONFIG_HSR)		+= hsr/
76