xref: /openbmc/linux/net/core/Makefile (revision 3ca3af7d)
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 flow_dissector.o
8
9obj-$(CONFIG_SYSCTL) += sysctl_net_core.o
10
11obj-y		     += dev.o dev_addr_lists.o dst.o netevent.o \
12			neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
13			sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
14			fib_notifier.o xdp.o flow_offload.o
15
16obj-y += net-sysfs.o
17obj-$(CONFIG_PAGE_POOL) += page_pool.o
18obj-$(CONFIG_PROC_FS) += net-procfs.o
19obj-$(CONFIG_NET_PKTGEN) += pktgen.o
20obj-$(CONFIG_NETPOLL) += netpoll.o
21obj-$(CONFIG_FIB_RULES) += fib_rules.o
22obj-$(CONFIG_TRACEPOINTS) += net-traces.o
23obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
24obj-$(CONFIG_NET_SELFTESTS) += selftests.o
25obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += timestamping.o
26obj-$(CONFIG_NET_PTP_CLASSIFY) += ptp_classifier.o
27obj-$(CONFIG_CGROUP_NET_PRIO) += netprio_cgroup.o
28obj-$(CONFIG_CGROUP_NET_CLASSID) += netclassid_cgroup.o
29obj-$(CONFIG_LWTUNNEL) += lwtunnel.o
30obj-$(CONFIG_LWTUNNEL_BPF) += lwt_bpf.o
31obj-$(CONFIG_DST_CACHE) += dst_cache.o
32obj-$(CONFIG_HWBM) += hwbm.o
33obj-$(CONFIG_NET_DEVLINK) += devlink.o
34obj-$(CONFIG_GRO_CELLS) += gro_cells.o
35obj-$(CONFIG_FAILOVER) += failover.o
36obj-$(CONFIG_NET_SOCK_MSG) += skmsg.o
37obj-$(CONFIG_BPF_SYSCALL) += sock_map.o
38obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o
39obj-$(CONFIG_OF)	+= of_net.o
40