xref: /linux/net/core/Makefile (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Linux networking core.
4#
5
6obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \
7	 gen_stats.o gen_estimator.o net_namespace.o secure_seq.o \
8	 flow_dissector.o
9
10obj-$(CONFIG_SYSCTL) += sysctl_net_core.o
11
12obj-y		     += dev.o dev_addr_lists.o dst.o netevent.o \
13			neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
14			sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
15			fib_notifier.o xdp.o flow_offload.o gro.o \
16			netdev-genl.o netdev-genl-gen.o gso.o
17
18obj-$(CONFIG_NETDEV_ADDR_LIST_TEST) += dev_addr_lists_test.o
19
20obj-y += net-sysfs.o
21obj-y += hotdata.o
22obj-y += netdev_rx_queue.o
23obj-$(CONFIG_PAGE_POOL) += page_pool.o page_pool_user.o
24obj-$(CONFIG_PROC_FS) += net-procfs.o
25obj-$(CONFIG_NET_PKTGEN) += pktgen.o
26obj-$(CONFIG_NETPOLL) += netpoll.o
27obj-$(CONFIG_FIB_RULES) += fib_rules.o
28obj-$(CONFIG_TRACEPOINTS) += net-traces.o
29obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
30obj-$(CONFIG_NET_IEEE8021Q_HELPERS) += ieee8021q_helpers.o
31obj-$(CONFIG_NET_SELFTESTS) += selftests.o
32obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += timestamping.o
33obj-$(CONFIG_NET_PTP_CLASSIFY) += ptp_classifier.o
34obj-$(CONFIG_CGROUP_NET_PRIO) += netprio_cgroup.o
35obj-$(CONFIG_CGROUP_NET_CLASSID) += netclassid_cgroup.o
36obj-$(CONFIG_LWTUNNEL) += lwtunnel.o
37obj-$(CONFIG_LWTUNNEL_BPF) += lwt_bpf.o
38obj-$(CONFIG_DST_CACHE) += dst_cache.o
39obj-$(CONFIG_HWBM) += hwbm.o
40obj-$(CONFIG_GRO_CELLS) += gro_cells.o
41obj-$(CONFIG_FAILOVER) += failover.o
42obj-$(CONFIG_NET_SOCK_MSG) += skmsg.o
43obj-$(CONFIG_BPF_SYSCALL) += sock_map.o
44obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o
45obj-$(CONFIG_OF)	+= of_net.o
46obj-$(CONFIG_NET_TEST) += net_test.o
47obj-$(CONFIG_NET_DEVMEM) += devmem.o
48obj-$(CONFIG_DEBUG_NET_SMALL_RTNL) += rtnl_net_debug.o
49obj-$(CONFIG_FAIL_SKB_REALLOC) += skb_fault_injection.o
50