blob: 278a7789ba37bf90aff0e79e695f4edbcb4db6fd [file] [log] [blame]
Kyle Swenson8d8f6542021-03-15 11:02:55 -06001#
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/
16obj-$(CONFIG_NETFILTER) += netfilter/
Kyle Swenson7d38e032023-07-10 11:16:56 -060017obj-$(CONFIG_WIREGUARD) += wireguard/
Kyle Swenson8d8f6542021-03-15 11:02:55 -060018obj-$(CONFIG_INET) += ipv4/
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_IRDA) += irda/
35obj-$(CONFIG_BT) += bluetooth/
36obj-$(CONFIG_SUNRPC) += sunrpc/
37obj-$(CONFIG_AF_RXRPC) += rxrpc/
38obj-$(CONFIG_ATM) += atm/
39obj-$(CONFIG_L2TP) += l2tp/
40obj-$(CONFIG_DECNET) += decnet/
41obj-$(CONFIG_PHONET) += phonet/
42ifneq ($(CONFIG_VLAN_8021Q),)
43obj-y += 8021q/
44endif
45obj-$(CONFIG_IP_DCCP) += dccp/
46obj-$(CONFIG_IP_SCTP) += sctp/
47obj-$(CONFIG_RDS) += rds/
48obj-$(CONFIG_WIRELESS) += wireless/
49obj-$(CONFIG_MAC80211) += mac80211/
50obj-$(CONFIG_TIPC) += tipc/
51obj-$(CONFIG_NETLABEL) += netlabel/
52obj-$(CONFIG_IUCV) += iucv/
53obj-$(CONFIG_RFKILL) += rfkill/
54obj-$(CONFIG_NET_9P) += 9p/
55obj-$(CONFIG_CAIF) += caif/
56ifneq ($(CONFIG_DCB),)
57obj-y += dcb/
58endif
59obj-$(CONFIG_6LOWPAN) += 6lowpan/
60obj-$(CONFIG_IEEE802154) += ieee802154/
61obj-$(CONFIG_MAC802154) += mac802154/
62
63ifeq ($(CONFIG_NET),y)
64obj-$(CONFIG_SYSCTL) += sysctl_net.o
65endif
66obj-$(CONFIG_WIMAX) += wimax/
67obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/
68obj-$(CONFIG_CEPH_LIB) += ceph/
69obj-$(CONFIG_BATMAN_ADV) += batman-adv/
70obj-$(CONFIG_NFC) += nfc/
71obj-$(CONFIG_OPENVSWITCH) += openvswitch/
72obj-$(CONFIG_VSOCKETS) += vmw_vsock/
73obj-$(CONFIG_MPLS) += mpls/
74obj-$(CONFIG_HSR) += hsr/
75ifneq ($(CONFIG_NET_SWITCHDEV),)
76obj-y += switchdev/
77endif
78ifneq ($(CONFIG_NET_L3_MASTER_DEV),)
79obj-y += l3mdev/
80endif