1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the linux networking. 2 # Makefile for the linux networking. 4 # 3 # 5 # 2 Sep 2000, Christoph Hellwig <hch@infradead. 4 # 2 Sep 2000, Christoph Hellwig <hch@infradead.org> 6 # Rewritten to use lists instead of if-stateme 5 # Rewritten to use lists instead of if-statements. 7 # 6 # 8 7 9 obj-y := devres.o so !! 8 obj-$(CONFIG_NET) := socket.o core/ 10 9 11 obj-$(CONFIG_COMPAT) += compat.o !! 10 tmp-$(CONFIG_COMPAT) := compat.o >> 11 obj-$(CONFIG_NET) += $(tmp-y) 12 12 13 # LLC has to be linked before the files in net 13 # LLC has to be linked before the files in net/802/ 14 obj-$(CONFIG_LLC) += llc/ 14 obj-$(CONFIG_LLC) += llc/ 15 obj-y += ethernet/ 8 !! 15 obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ 16 obj-$(CONFIG_NETFILTER) += netfilter/ 16 obj-$(CONFIG_NETFILTER) += netfilter/ 17 obj-$(CONFIG_INET) += ipv4/ 17 obj-$(CONFIG_INET) += ipv4/ 18 obj-$(CONFIG_TLS) += tls/ << 19 obj-$(CONFIG_XFRM) += xfrm/ 18 obj-$(CONFIG_XFRM) += xfrm/ 20 obj-$(CONFIG_UNIX) += unix/ !! 19 obj-$(CONFIG_UNIX_SCM) += unix/ 21 obj-y += ipv6/ !! 20 obj-$(CONFIG_NET) += ipv6/ 22 obj-$(CONFIG_PACKET) += packet/ 21 obj-$(CONFIG_PACKET) += packet/ 23 obj-$(CONFIG_NET_KEY) += key/ 22 obj-$(CONFIG_NET_KEY) += key/ 24 obj-$(CONFIG_BRIDGE) += bridge/ 23 obj-$(CONFIG_BRIDGE) += bridge/ 25 obj-$(CONFIG_NET_DEVLINK) += devlink/ !! 24 obj-$(CONFIG_NET_DSA) += dsa/ 26 obj-y += dsa/ !! 25 obj-$(CONFIG_IPX) += ipx/ 27 obj-$(CONFIG_ATALK) += appletalk/ 26 obj-$(CONFIG_ATALK) += appletalk/ 28 obj-$(CONFIG_X25) += x25/ 27 obj-$(CONFIG_X25) += x25/ 29 obj-$(CONFIG_LAPB) += lapb/ 28 obj-$(CONFIG_LAPB) += lapb/ 30 obj-$(CONFIG_NETROM) += netrom/ 29 obj-$(CONFIG_NETROM) += netrom/ 31 obj-$(CONFIG_ROSE) += rose/ 30 obj-$(CONFIG_ROSE) += rose/ 32 obj-$(CONFIG_AX25) += ax25/ 31 obj-$(CONFIG_AX25) += ax25/ 33 obj-$(CONFIG_CAN) += can/ 32 obj-$(CONFIG_CAN) += can/ >> 33 obj-$(CONFIG_IRDA) += irda/ 34 obj-$(CONFIG_BT) += bluetooth/ 34 obj-$(CONFIG_BT) += bluetooth/ 35 obj-$(CONFIG_SUNRPC) += sunrpc/ 35 obj-$(CONFIG_SUNRPC) += sunrpc/ 36 obj-$(CONFIG_AF_RXRPC) += rxrpc/ 36 obj-$(CONFIG_AF_RXRPC) += rxrpc/ 37 obj-$(CONFIG_AF_KCM) += kcm/ << 38 obj-$(CONFIG_STREAM_PARSER) += strparser/ << 39 obj-$(CONFIG_ATM) += atm/ 37 obj-$(CONFIG_ATM) += atm/ 40 obj-$(CONFIG_L2TP) += l2tp/ 38 obj-$(CONFIG_L2TP) += l2tp/ >> 39 obj-$(CONFIG_DECNET) += decnet/ 41 obj-$(CONFIG_PHONET) += phonet/ 40 obj-$(CONFIG_PHONET) += phonet/ 42 ifneq ($(CONFIG_VLAN_8021Q),) 41 ifneq ($(CONFIG_VLAN_8021Q),) 43 obj-y += 8021q/ 42 obj-y += 8021q/ 44 endif 43 endif 45 obj-$(CONFIG_IP_DCCP) += dccp/ 44 obj-$(CONFIG_IP_DCCP) += dccp/ 46 obj-$(CONFIG_IP_SCTP) += sctp/ 45 obj-$(CONFIG_IP_SCTP) += sctp/ 47 obj-$(CONFIG_RDS) += rds/ 46 obj-$(CONFIG_RDS) += rds/ 48 obj-$(CONFIG_WIRELESS) += wireless/ 47 obj-$(CONFIG_WIRELESS) += wireless/ 49 obj-$(CONFIG_MAC80211) += mac80211/ 48 obj-$(CONFIG_MAC80211) += mac80211/ 50 obj-$(CONFIG_TIPC) += tipc/ 49 obj-$(CONFIG_TIPC) += tipc/ 51 obj-$(CONFIG_NETLABEL) += netlabel/ 50 obj-$(CONFIG_NETLABEL) += netlabel/ 52 obj-$(CONFIG_IUCV) += iucv/ 51 obj-$(CONFIG_IUCV) += iucv/ 53 obj-$(CONFIG_SMC) += smc/ << 54 obj-$(CONFIG_RFKILL) += rfkill/ 52 obj-$(CONFIG_RFKILL) += rfkill/ 55 obj-$(CONFIG_NET_9P) += 9p/ 53 obj-$(CONFIG_NET_9P) += 9p/ 56 obj-$(CONFIG_CAIF) += caif/ 54 obj-$(CONFIG_CAIF) += caif/ 57 obj-$(CONFIG_DCB) += dcb/ !! 55 ifneq ($(CONFIG_DCB),) >> 56 obj-y += dcb/ >> 57 endif 58 obj-$(CONFIG_6LOWPAN) += 6lowpan/ 58 obj-$(CONFIG_6LOWPAN) += 6lowpan/ 59 obj-$(CONFIG_IEEE802154) += ieee802154/ 59 obj-$(CONFIG_IEEE802154) += ieee802154/ 60 obj-$(CONFIG_MAC802154) += mac802154/ 60 obj-$(CONFIG_MAC802154) += mac802154/ 61 61 >> 62 ifeq ($(CONFIG_NET),y) 62 obj-$(CONFIG_SYSCTL) += sysctl_net. 63 obj-$(CONFIG_SYSCTL) += sysctl_net.o >> 64 endif >> 65 obj-$(CONFIG_WIMAX) += wimax/ 63 obj-$(CONFIG_DNS_RESOLVER) += dns_resolve 66 obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ 64 obj-$(CONFIG_CEPH_LIB) += ceph/ 67 obj-$(CONFIG_CEPH_LIB) += ceph/ 65 obj-$(CONFIG_BATMAN_ADV) += batman-adv/ 68 obj-$(CONFIG_BATMAN_ADV) += batman-adv/ 66 obj-$(CONFIG_NFC) += nfc/ 69 obj-$(CONFIG_NFC) += nfc/ 67 obj-$(CONFIG_PSAMPLE) += psample/ << 68 obj-$(CONFIG_NET_IFE) += ife/ << 69 obj-$(CONFIG_OPENVSWITCH) += openvswitch 70 obj-$(CONFIG_OPENVSWITCH) += openvswitch/ 70 obj-$(CONFIG_VSOCKETS) += vmw_vsock/ 71 obj-$(CONFIG_VSOCKETS) += vmw_vsock/ 71 obj-$(CONFIG_MPLS) += mpls/ 72 obj-$(CONFIG_MPLS) += mpls/ 72 obj-$(CONFIG_NET_NSH) += nsh/ << 73 obj-$(CONFIG_HSR) += hsr/ 73 obj-$(CONFIG_HSR) += hsr/ 74 obj-$(CONFIG_NET_SWITCHDEV) += switchdev/ !! 74 ifneq ($(CONFIG_NET_SWITCHDEV),) 75 obj-$(CONFIG_NET_L3_MASTER_DEV) += l3mdev/ !! 75 obj-y += switchdev/ 76 obj-$(CONFIG_QRTR) += qrtr/ !! 76 endif 77 obj-$(CONFIG_NET_NCSI) += ncsi/ !! 77 ifneq ($(CONFIG_NET_L3_MASTER_DEV),) 78 obj-$(CONFIG_XDP_SOCKETS) += xdp/ !! 78 obj-y += l3mdev/ 79 obj-$(CONFIG_MPTCP) += mptcp/ !! 79 endif 80 obj-$(CONFIG_MCTP) += mctp/ << 81 obj-$(CONFIG_NET_HANDSHAKE) += handshake/ <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.