1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the Linux networking core. 2 # Makefile for the Linux networking core. 4 # 3 # >> 4 # Note! Dependencies are done automagically by 'make dep', which also >> 5 # removes any old dependencies. DON'T put your own dependencies here >> 6 # unless it's something special (ie not a .c file). >> 7 # >> 8 # Note 2! The CFLAGS definition is now in the main makefile... >> 9 >> 10 O_TARGET := core.o >> 11 >> 12 export-objs := netfilter.o profile.o ethtool.o neighbour.o >> 13 >> 14 obj-y := sock.o skbuff.o iovec.o datagram.o scm.o 5 15 6 obj-y := sock.o request_sock.o skbuff.o datagr !! 16 ifeq ($(CONFIG_SYSCTL),y) 7 gen_stats.o gen_estimator.o net_names !! 17 ifeq ($(CONFIG_NET),y) 8 flow_dissector.o !! 18 obj-y += sysctl_net_core.o 9 !! 19 endif 10 obj-$(CONFIG_SYSCTL) += sysctl_net_core.o !! 20 endif 11 !! 21 12 obj-y += dev.o dev_addr_lists.o !! 22 obj-$(CONFIG_FILTER) += filter.o 13 neighbour.o rtnetlink. !! 23 14 sock_diag.o dev_ioctl. !! 24 obj-$(CONFIG_NET) += dev.o ethtool.o dev_mcast.o dst.o neighbour.o \ 15 fib_notifier.o xdp.o f !! 25 rtnetlink.o utils.o 16 netdev-genl.o netdev-g !! 26 17 !! 27 obj-$(CONFIG_NETFILTER) += netfilter.o 18 obj-$(CONFIG_NETDEV_ADDR_LIST_TEST) += dev_add !! 28 obj-$(CONFIG_NET_DIVERT) += dv.o 19 !! 29 obj-$(CONFIG_NET_PROFILE) += profile.o 20 obj-y += net-sysfs.o << 21 obj-y += hotdata.o << 22 obj-y += netdev_rx_queue.o << 23 obj-$(CONFIG_PAGE_POOL) += page_pool.o page_po << 24 obj-$(CONFIG_PROC_FS) += net-procfs.o << 25 obj-$(CONFIG_NET_PKTGEN) += pktgen.o 30 obj-$(CONFIG_NET_PKTGEN) += pktgen.o 26 obj-$(CONFIG_NETPOLL) += netpoll.o !! 31 obj-$(CONFIG_NET_RADIO) += wireless.o 27 obj-$(CONFIG_FIB_RULES) += fib_rules.o !! 32 # Ugly. I wish all wireless drivers were moved in drivers/net/wireless 28 obj-$(CONFIG_TRACEPOINTS) += net-traces.o !! 33 obj-$(CONFIG_NET_PCMCIA_RADIO) += wireless.o 29 obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor !! 34 30 obj-$(CONFIG_NET_IEEE8021Q_HELPERS) += ieee802 !! 35 include $(TOPDIR)/Rules.make 31 obj-$(CONFIG_NET_SELFTESTS) += selftests.o << 32 obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += time << 33 obj-$(CONFIG_NET_PTP_CLASSIFY) += ptp_classifi << 34 obj-$(CONFIG_CGROUP_NET_PRIO) += netprio_cgrou << 35 obj-$(CONFIG_CGROUP_NET_CLASSID) += netclassid << 36 obj-$(CONFIG_LWTUNNEL) += lwtunnel.o << 37 obj-$(CONFIG_LWTUNNEL_BPF) += lwt_bpf.o << 38 obj-$(CONFIG_DST_CACHE) += dst_cache.o << 39 obj-$(CONFIG_HWBM) += hwbm.o << 40 obj-$(CONFIG_GRO_CELLS) += gro_cells.o << 41 obj-$(CONFIG_FAILOVER) += failover.o << 42 obj-$(CONFIG_NET_SOCK_MSG) += skmsg.o << 43 obj-$(CONFIG_BPF_SYSCALL) += sock_map.o << 44 obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o << 45 obj-$(CONFIG_OF) += of_net.o << 46 obj-$(CONFIG_NET_TEST) += net_test.o << 47 obj-$(CONFIG_NET_DEVMEM) += devmem.o <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.