Makefile 1.4 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
L
Linus Torvalds 已提交
2 3 4 5
#
# Makefile for the Linux networking core.
#

6
obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \
E
Eric Dumazet 已提交
7
	 gen_stats.o gen_estimator.o net_namespace.o secure_seq.o flow_dissector.o
L
Linus Torvalds 已提交
8 9 10

obj-$(CONFIG_SYSCTL) += sysctl_net_core.o

11
obj-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
L
Linus Torvalds 已提交
15

16
obj-y += net-sysfs.o
17
obj-$(CONFIG_PAGE_POOL) += page_pool.o
18
obj-$(CONFIG_PROC_FS) += net-procfs.o
L
Linus Torvalds 已提交
19 20
obj-$(CONFIG_NET_PKTGEN) += pktgen.o
obj-$(CONFIG_NETPOLL) += netpoll.o
21
obj-$(CONFIG_FIB_RULES) += fib_rules.o
22
obj-$(CONFIG_TRACEPOINTS) += net-traces.o
23
obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
24
obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += timestamping.o
25
obj-$(CONFIG_NET_PTP_CLASSIFY) += ptp_classifier.o
26
obj-$(CONFIG_CGROUP_NET_PRIO) += netprio_cgroup.o
27
obj-$(CONFIG_CGROUP_NET_CLASSID) += netclassid_cgroup.o
28
obj-$(CONFIG_LWTUNNEL) += lwtunnel.o
29
obj-$(CONFIG_LWTUNNEL_BPF) += lwt_bpf.o
P
Paolo Abeni 已提交
30
obj-$(CONFIG_DST_CACHE) += dst_cache.o
31
obj-$(CONFIG_HWBM) += hwbm.o
J
Jiri Pirko 已提交
32
obj-$(CONFIG_NET_DEVLINK) += devlink.o
33
obj-$(CONFIG_GRO_CELLS) += gro_cells.o
34
obj-$(CONFIG_FAILOVER) += failover.o
35
ifeq ($(CONFIG_INET),y)
36
obj-$(CONFIG_NET_SELFTESTS) += selftests.o
37 38 39
obj-$(CONFIG_NET_SOCK_MSG) += skmsg.o
obj-$(CONFIG_BPF_SYSCALL) += sock_map.o
endif
40
obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o