xref: /openbmc/linux/net/core/Makefile (revision 173940b3)
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 gro.o
15
16obj-$(CONFIG_NETDEV_ADDR_LIST_TEST) += dev_addr_lists_test.o
17
18obj-y += net-sysfs.o
19obj-$(CONFIG_PAGE_POOL) += page_pool.o
20obj-$(CONFIG_PROC_FS) += net-procfs.o
21obj-$(CONFIG_NET_PKTGEN) += pktgen.o
22obj-$(CONFIG_NETPOLL) += netpoll.o
23obj-$(CONFIG_FIB_RULES) += fib_rules.o
24obj-$(CONFIG_TRACEPOINTS) += net-traces.o
25obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
26obj-$(CONFIG_NET_SELFTESTS) += selftests.o
27obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += timestamping.o
28obj-$(CONFIG_NET_PTP_CLASSIFY) += ptp_classifier.o
29obj-$(CONFIG_CGROUP_NET_PRIO) += netprio_cgroup.o
30obj-$(CONFIG_CGROUP_NET_CLASSID) += netclassid_cgroup.o
31obj-$(CONFIG_LWTUNNEL) += lwtunnel.o
32obj-$(CONFIG_LWTUNNEL_BPF) += lwt_bpf.o
33obj-$(CONFIG_DST_CACHE) += dst_cache.o
34obj-$(CONFIG_HWBM) += hwbm.o
35obj-$(CONFIG_NET_DEVLINK) += devlink.o
36obj-$(CONFIG_GRO_CELLS) += gro_cells.o
37obj-$(CONFIG_FAILOVER) += failover.o
38obj-$(CONFIG_NET_SOCK_MSG) += skmsg.o
39obj-$(CONFIG_BPF_SYSCALL) += sock_map.o
40obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o
41obj-$(CONFIG_OF)	+= of_net.o
42