Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame] | 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 | |
| 8 | obj-$(CONFIG_NET) := socket.o core/ |
| 9 | |
| 10 | tmp-$(CONFIG_COMPAT) := compat.o |
| 11 | obj-$(CONFIG_NET) += $(tmp-y) |
| 12 | |
| 13 | # LLC has to be linked before the files in net/802/ |
| 14 | obj-$(CONFIG_LLC) += llc/ |
| 15 | obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ |
| 16 | obj-$(CONFIG_NETFILTER) += netfilter/ |
Kyle Swenson | 7d38e03 | 2023-07-10 11:16:56 -0600 | [diff] [blame] | 17 | obj-$(CONFIG_WIREGUARD) += wireguard/ |
Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame] | 18 | obj-$(CONFIG_INET) += ipv4/ |
| 19 | obj-$(CONFIG_XFRM) += xfrm/ |
| 20 | obj-$(CONFIG_UNIX) += unix/ |
| 21 | obj-$(CONFIG_NET) += ipv6/ |
| 22 | obj-$(CONFIG_PACKET) += packet/ |
| 23 | obj-$(CONFIG_NET_KEY) += key/ |
| 24 | obj-$(CONFIG_BRIDGE) += bridge/ |
| 25 | obj-$(CONFIG_NET_DSA) += dsa/ |
| 26 | obj-$(CONFIG_IPX) += ipx/ |
| 27 | obj-$(CONFIG_ATALK) += appletalk/ |
| 28 | obj-$(CONFIG_X25) += x25/ |
| 29 | obj-$(CONFIG_LAPB) += lapb/ |
| 30 | obj-$(CONFIG_NETROM) += netrom/ |
| 31 | obj-$(CONFIG_ROSE) += rose/ |
| 32 | obj-$(CONFIG_AX25) += ax25/ |
| 33 | obj-$(CONFIG_CAN) += can/ |
| 34 | obj-$(CONFIG_IRDA) += irda/ |
| 35 | obj-$(CONFIG_BT) += bluetooth/ |
| 36 | obj-$(CONFIG_SUNRPC) += sunrpc/ |
| 37 | obj-$(CONFIG_AF_RXRPC) += rxrpc/ |
| 38 | obj-$(CONFIG_ATM) += atm/ |
| 39 | obj-$(CONFIG_L2TP) += l2tp/ |
| 40 | obj-$(CONFIG_DECNET) += decnet/ |
| 41 | obj-$(CONFIG_PHONET) += phonet/ |
| 42 | ifneq ($(CONFIG_VLAN_8021Q),) |
| 43 | obj-y += 8021q/ |
| 44 | endif |
| 45 | obj-$(CONFIG_IP_DCCP) += dccp/ |
| 46 | obj-$(CONFIG_IP_SCTP) += sctp/ |
| 47 | obj-$(CONFIG_RDS) += rds/ |
| 48 | obj-$(CONFIG_WIRELESS) += wireless/ |
| 49 | obj-$(CONFIG_MAC80211) += mac80211/ |
| 50 | obj-$(CONFIG_TIPC) += tipc/ |
| 51 | obj-$(CONFIG_NETLABEL) += netlabel/ |
| 52 | obj-$(CONFIG_IUCV) += iucv/ |
| 53 | obj-$(CONFIG_RFKILL) += rfkill/ |
| 54 | obj-$(CONFIG_NET_9P) += 9p/ |
| 55 | obj-$(CONFIG_CAIF) += caif/ |
| 56 | ifneq ($(CONFIG_DCB),) |
| 57 | obj-y += dcb/ |
| 58 | endif |
| 59 | obj-$(CONFIG_6LOWPAN) += 6lowpan/ |
| 60 | obj-$(CONFIG_IEEE802154) += ieee802154/ |
| 61 | obj-$(CONFIG_MAC802154) += mac802154/ |
| 62 | |
| 63 | ifeq ($(CONFIG_NET),y) |
| 64 | obj-$(CONFIG_SYSCTL) += sysctl_net.o |
| 65 | endif |
| 66 | obj-$(CONFIG_WIMAX) += wimax/ |
| 67 | obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ |
| 68 | obj-$(CONFIG_CEPH_LIB) += ceph/ |
| 69 | obj-$(CONFIG_BATMAN_ADV) += batman-adv/ |
| 70 | obj-$(CONFIG_NFC) += nfc/ |
| 71 | obj-$(CONFIG_OPENVSWITCH) += openvswitch/ |
| 72 | obj-$(CONFIG_VSOCKETS) += vmw_vsock/ |
| 73 | obj-$(CONFIG_MPLS) += mpls/ |
| 74 | obj-$(CONFIG_HSR) += hsr/ |
| 75 | ifneq ($(CONFIG_NET_SWITCHDEV),) |
| 76 | obj-y += switchdev/ |
| 77 | endif |
| 78 | ifneq ($(CONFIG_NET_L3_MASTER_DEV),) |
| 79 | obj-y += l3mdev/ |
| 80 | endif |