xref: /openbmc/linux/net/Makefile (revision 5a244f48)
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-$(CONFIG_NET)		:= socket.o core/
9
10tmp-$(CONFIG_COMPAT) 		:= compat.o
11obj-$(CONFIG_NET)		+= $(tmp-y)
12
13# LLC has to be linked before the files in net/802/
14obj-$(CONFIG_LLC)		+= llc/
15obj-$(CONFIG_NET)		+= ethernet/ 802/ sched/ netlink/ bpf/
16obj-$(CONFIG_NETFILTER)		+= netfilter/
17obj-$(CONFIG_INET)		+= ipv4/
18obj-$(CONFIG_TLS)		+= tls/
19obj-$(CONFIG_XFRM)		+= xfrm/
20obj-$(CONFIG_UNIX)		+= unix/
21obj-$(CONFIG_NET)		+= ipv6/
22obj-$(CONFIG_PACKET)		+= packet/
23obj-$(CONFIG_NET_KEY)		+= key/
24obj-$(CONFIG_BRIDGE)		+= bridge/
25obj-$(CONFIG_NET_DSA)		+= dsa/
26obj-$(CONFIG_IPX)		+= ipx/
27obj-$(CONFIG_ATALK)		+= appletalk/
28obj-$(CONFIG_X25)		+= x25/
29obj-$(CONFIG_LAPB)		+= lapb/
30obj-$(CONFIG_NETROM)		+= netrom/
31obj-$(CONFIG_ROSE)		+= rose/
32obj-$(CONFIG_AX25)		+= ax25/
33obj-$(CONFIG_CAN)		+= can/
34obj-$(CONFIG_BT)		+= bluetooth/
35obj-$(CONFIG_SUNRPC)		+= sunrpc/
36obj-$(CONFIG_AF_RXRPC)		+= rxrpc/
37obj-$(CONFIG_AF_KCM)		+= kcm/
38obj-$(CONFIG_STREAM_PARSER)	+= strparser/
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_SMC)		+= smc/
55obj-$(CONFIG_RFKILL)		+= rfkill/
56obj-$(CONFIG_NET_9P)		+= 9p/
57obj-$(CONFIG_CAIF)		+= caif/
58ifneq ($(CONFIG_DCB),)
59obj-y				+= dcb/
60endif
61obj-$(CONFIG_6LOWPAN)		+= 6lowpan/
62obj-$(CONFIG_IEEE802154)	+= ieee802154/
63obj-$(CONFIG_MAC802154)		+= mac802154/
64
65ifeq ($(CONFIG_NET),y)
66obj-$(CONFIG_SYSCTL)		+= sysctl_net.o
67endif
68obj-$(CONFIG_WIMAX)		+= wimax/
69obj-$(CONFIG_DNS_RESOLVER)	+= dns_resolver/
70obj-$(CONFIG_CEPH_LIB)		+= ceph/
71obj-$(CONFIG_BATMAN_ADV)	+= batman-adv/
72obj-$(CONFIG_NFC)		+= nfc/
73obj-$(CONFIG_PSAMPLE)		+= psample/
74obj-$(CONFIG_NET_IFE)		+= ife/
75obj-$(CONFIG_OPENVSWITCH)	+= openvswitch/
76obj-$(CONFIG_VSOCKETS)	+= vmw_vsock/
77obj-$(CONFIG_MPLS)		+= mpls/
78obj-$(CONFIG_NET_NSH)		+= nsh/
79obj-$(CONFIG_HSR)		+= hsr/
80ifneq ($(CONFIG_NET_SWITCHDEV),)
81obj-y				+= switchdev/
82endif
83ifneq ($(CONFIG_NET_L3_MASTER_DEV),)
84obj-y				+= l3mdev/
85endif
86obj-$(CONFIG_QRTR)		+= qrtr/
87obj-$(CONFIG_NET_NCSI)		+= ncsi/
88