18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Makefile for the linux networking. 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci# 2 Sep 2000, Christoph Hellwig <hch@infradead.org> 68c2ecf20Sopenharmony_ci# Rewritten to use lists instead of if-statements. 78c2ecf20Sopenharmony_ci# 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciobj-$(CONFIG_NET) := devres.o socket.o core/ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_citmp-$(CONFIG_COMPAT) := compat.o 128c2ecf20Sopenharmony_ciobj-$(CONFIG_NET) += $(tmp-y) 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci# LLC has to be linked before the files in net/802/ 158c2ecf20Sopenharmony_ciobj-$(CONFIG_LLC) += llc/ 168c2ecf20Sopenharmony_ciobj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/ 178c2ecf20Sopenharmony_ciobj-$(CONFIG_NETFILTER) += netfilter/ 188c2ecf20Sopenharmony_ciobj-$(CONFIG_INET) += ipv4/ 198c2ecf20Sopenharmony_ciobj-$(CONFIG_TLS) += tls/ 208c2ecf20Sopenharmony_ciobj-$(CONFIG_XFRM) += xfrm/ 218c2ecf20Sopenharmony_ciobj-$(CONFIG_UNIX_SCM) += unix/ 228c2ecf20Sopenharmony_ciobj-$(CONFIG_NET) += ipv6/ 238c2ecf20Sopenharmony_ciobj-$(CONFIG_BPFILTER) += bpfilter/ 248c2ecf20Sopenharmony_ciobj-$(CONFIG_PACKET) += packet/ 258c2ecf20Sopenharmony_ciobj-$(CONFIG_NET_KEY) += key/ 268c2ecf20Sopenharmony_ciobj-$(CONFIG_BRIDGE) += bridge/ 278c2ecf20Sopenharmony_ciobj-$(CONFIG_NET_DSA) += dsa/ 288c2ecf20Sopenharmony_ciobj-$(CONFIG_ATALK) += appletalk/ 298c2ecf20Sopenharmony_ciobj-$(CONFIG_X25) += x25/ 308c2ecf20Sopenharmony_ciobj-$(CONFIG_LAPB) += lapb/ 318c2ecf20Sopenharmony_ciobj-$(CONFIG_NETROM) += netrom/ 328c2ecf20Sopenharmony_ciobj-$(CONFIG_ROSE) += rose/ 338c2ecf20Sopenharmony_ciobj-$(CONFIG_AX25) += ax25/ 348c2ecf20Sopenharmony_ciobj-$(CONFIG_CAN) += can/ 358c2ecf20Sopenharmony_ciobj-$(CONFIG_BT) += bluetooth/ 368c2ecf20Sopenharmony_ciobj-$(CONFIG_SUNRPC) += sunrpc/ 378c2ecf20Sopenharmony_ciobj-$(CONFIG_AF_RXRPC) += rxrpc/ 388c2ecf20Sopenharmony_ciobj-$(CONFIG_AF_KCM) += kcm/ 398c2ecf20Sopenharmony_ciobj-$(CONFIG_STREAM_PARSER) += strparser/ 408c2ecf20Sopenharmony_ciobj-$(CONFIG_ATM) += atm/ 418c2ecf20Sopenharmony_ciobj-$(CONFIG_L2TP) += l2tp/ 428c2ecf20Sopenharmony_ciobj-$(CONFIG_PHONET) += phonet/ 438c2ecf20Sopenharmony_ciifneq ($(CONFIG_VLAN_8021Q),) 448c2ecf20Sopenharmony_ciobj-y += 8021q/ 458c2ecf20Sopenharmony_ciendif 468c2ecf20Sopenharmony_ciobj-$(CONFIG_IP_DCCP) += dccp/ 478c2ecf20Sopenharmony_ciobj-$(CONFIG_IP_SCTP) += sctp/ 488c2ecf20Sopenharmony_ciobj-$(CONFIG_RDS) += rds/ 498c2ecf20Sopenharmony_ciobj-$(CONFIG_WIRELESS) += wireless/ 508c2ecf20Sopenharmony_ciobj-$(CONFIG_MAC80211) += mac80211/ 518c2ecf20Sopenharmony_ciobj-$(CONFIG_TIPC) += tipc/ 528c2ecf20Sopenharmony_ciobj-$(CONFIG_NETLABEL) += netlabel/ 538c2ecf20Sopenharmony_ciobj-$(CONFIG_IUCV) += iucv/ 548c2ecf20Sopenharmony_ciobj-$(CONFIG_SMC) += smc/ 558c2ecf20Sopenharmony_ciobj-$(CONFIG_RFKILL) += rfkill/ 568c2ecf20Sopenharmony_ciobj-$(CONFIG_NET_9P) += 9p/ 578c2ecf20Sopenharmony_ciobj-$(CONFIG_CAIF) += caif/ 588c2ecf20Sopenharmony_ciifneq ($(CONFIG_DCB),) 598c2ecf20Sopenharmony_ciobj-y += dcb/ 608c2ecf20Sopenharmony_ciendif 618c2ecf20Sopenharmony_ciobj-$(CONFIG_6LOWPAN) += 6lowpan/ 628c2ecf20Sopenharmony_ciobj-$(CONFIG_IEEE802154) += ieee802154/ 638c2ecf20Sopenharmony_ciobj-$(CONFIG_MAC802154) += mac802154/ 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ciifeq ($(CONFIG_NET),y) 668c2ecf20Sopenharmony_ciobj-$(CONFIG_SYSCTL) += sysctl_net.o 678c2ecf20Sopenharmony_ciendif 688c2ecf20Sopenharmony_ciobj-$(CONFIG_WIMAX) += wimax/ 698c2ecf20Sopenharmony_ciobj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ 708c2ecf20Sopenharmony_ciobj-$(CONFIG_CEPH_LIB) += ceph/ 718c2ecf20Sopenharmony_ciobj-$(CONFIG_BATMAN_ADV) += batman-adv/ 728c2ecf20Sopenharmony_ciobj-$(CONFIG_NFC) += nfc/ 738c2ecf20Sopenharmony_ciobj-$(CONFIG_PSAMPLE) += psample/ 748c2ecf20Sopenharmony_ciobj-$(CONFIG_NET_IFE) += ife/ 758c2ecf20Sopenharmony_ciobj-$(CONFIG_OPENVSWITCH) += openvswitch/ 768c2ecf20Sopenharmony_ciobj-$(CONFIG_VSOCKETS) += vmw_vsock/ 778c2ecf20Sopenharmony_ciobj-$(CONFIG_MPLS) += mpls/ 788c2ecf20Sopenharmony_ciobj-$(CONFIG_NET_NSH) += nsh/ 798c2ecf20Sopenharmony_ciobj-$(CONFIG_HSR) += hsr/ 808c2ecf20Sopenharmony_ciifneq ($(CONFIG_NET_SWITCHDEV),) 818c2ecf20Sopenharmony_ciobj-y += switchdev/ 828c2ecf20Sopenharmony_ciendif 838c2ecf20Sopenharmony_ciifneq ($(CONFIG_NET_L3_MASTER_DEV),) 848c2ecf20Sopenharmony_ciobj-y += l3mdev/ 858c2ecf20Sopenharmony_ciendif 868c2ecf20Sopenharmony_ciobj-$(CONFIG_QRTR) += qrtr/ 878c2ecf20Sopenharmony_ciobj-$(CONFIG_NET_NCSI) += ncsi/ 888c2ecf20Sopenharmony_ciobj-$(CONFIG_XDP_SOCKETS) += xdp/ 898c2ecf20Sopenharmony_ciobj-$(CONFIG_MPTCP) += mptcp/ 908c2ecf20Sopenharmony_ciobj-$(CONFIG_NEWIP) += newip/