~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/kernel/bpf/Makefile

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /kernel/bpf/Makefile (Version linux-6.12-rc7) and /kernel/bpf/Makefile (Version linux-5.18.19)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 obj-y := core.o                                     2 obj-y := core.o
  3 ifneq ($(CONFIG_BPF_JIT_ALWAYS_ON),y)               3 ifneq ($(CONFIG_BPF_JIT_ALWAYS_ON),y)
  4 # ___bpf_prog_run() needs GCSE disabled on x86      4 # ___bpf_prog_run() needs GCSE disabled on x86; see 3193c0836f203 for details
  5 cflags-nogcse-$(CONFIG_X86)$(CONFIG_CC_IS_GCC)      5 cflags-nogcse-$(CONFIG_X86)$(CONFIG_CC_IS_GCC) := -fno-gcse
  6 endif                                               6 endif
  7 CFLAGS_core.o += -Wno-override-init $(cflags-n !!   7 CFLAGS_core.o += $(call cc-disable-warning, override-init) $(cflags-nogcse-yy)
  8                                                     8 
  9 obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifie !!   9 obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o bpf_iter.o map_iter.o task_iter.o prog_iter.o
 10 obj-$(CONFIG_BPF_SYSCALL) += bpf_iter.o map_it << 
 11 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arrayma     10 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_in_map.o bloom_filter.o
 12 obj-$(CONFIG_BPF_SYSCALL) += local_storage.o q     11 obj-$(CONFIG_BPF_SYSCALL) += local_storage.o queue_stack_maps.o ringbuf.o
 13 obj-$(CONFIG_BPF_SYSCALL) += bpf_local_storage     12 obj-$(CONFIG_BPF_SYSCALL) += bpf_local_storage.o bpf_task_storage.o
 14 obj-${CONFIG_BPF_LSM}     += bpf_inode_storage     13 obj-${CONFIG_BPF_LSM}     += bpf_inode_storage.o
 15 obj-$(CONFIG_BPF_SYSCALL) += disasm.o mprog.o  !!  14 obj-$(CONFIG_BPF_SYSCALL) += disasm.o
 16 obj-$(CONFIG_BPF_JIT) += trampoline.o              15 obj-$(CONFIG_BPF_JIT) += trampoline.o
 17 obj-$(CONFIG_BPF_SYSCALL) += btf.o memalloc.o  !!  16 obj-$(CONFIG_BPF_SYSCALL) += btf.o
 18 ifeq ($(CONFIG_MMU)$(CONFIG_64BIT),yy)         << 
 19 obj-$(CONFIG_BPF_SYSCALL) += arena.o           << 
 20 endif                                          << 
 21 obj-$(CONFIG_BPF_JIT) += dispatcher.o              17 obj-$(CONFIG_BPF_JIT) += dispatcher.o
 22 ifeq ($(CONFIG_NET),y)                             18 ifeq ($(CONFIG_NET),y)
 23 obj-$(CONFIG_BPF_SYSCALL) += devmap.o              19 obj-$(CONFIG_BPF_SYSCALL) += devmap.o
 24 obj-$(CONFIG_BPF_SYSCALL) += cpumap.o              20 obj-$(CONFIG_BPF_SYSCALL) += cpumap.o
 25 obj-$(CONFIG_BPF_SYSCALL) += offload.o             21 obj-$(CONFIG_BPF_SYSCALL) += offload.o
 26 obj-$(CONFIG_BPF_SYSCALL) += net_namespace.o       22 obj-$(CONFIG_BPF_SYSCALL) += net_namespace.o
 27 obj-$(CONFIG_BPF_SYSCALL) += tcx.o             << 
 28 endif                                              23 endif
 29 ifeq ($(CONFIG_PERF_EVENTS),y)                     24 ifeq ($(CONFIG_PERF_EVENTS),y)
 30 obj-$(CONFIG_BPF_SYSCALL) += stackmap.o            25 obj-$(CONFIG_BPF_SYSCALL) += stackmap.o
 31 endif                                              26 endif
 32 ifeq ($(CONFIG_CGROUPS),y)                     << 
 33 obj-$(CONFIG_BPF_SYSCALL) += cgroup_iter.o bpf << 
 34 endif                                          << 
 35 obj-$(CONFIG_CGROUP_BPF) += cgroup.o               27 obj-$(CONFIG_CGROUP_BPF) += cgroup.o
 36 ifeq ($(CONFIG_INET),y)                            28 ifeq ($(CONFIG_INET),y)
 37 obj-$(CONFIG_BPF_SYSCALL) += reuseport_array.o     29 obj-$(CONFIG_BPF_SYSCALL) += reuseport_array.o
 38 endif                                              30 endif
 39 ifeq ($(CONFIG_SYSFS),y)                           31 ifeq ($(CONFIG_SYSFS),y)
 40 obj-$(CONFIG_DEBUG_INFO_BTF) += sysfs_btf.o        32 obj-$(CONFIG_DEBUG_INFO_BTF) += sysfs_btf.o
 41 endif                                              33 endif
 42 ifeq ($(CONFIG_BPF_JIT),y)                         34 ifeq ($(CONFIG_BPF_JIT),y)
 43 obj-$(CONFIG_BPF_SYSCALL) += bpf_struct_ops.o      35 obj-$(CONFIG_BPF_SYSCALL) += bpf_struct_ops.o
 44 obj-$(CONFIG_BPF_SYSCALL) += cpumask.o         << 
 45 obj-${CONFIG_BPF_LSM} += bpf_lsm.o                 36 obj-${CONFIG_BPF_LSM} += bpf_lsm.o
 46 endif                                              37 endif
 47 ifneq ($(CONFIG_CRYPTO),)                      << 
 48 obj-$(CONFIG_BPF_SYSCALL) += crypto.o          << 
 49 endif                                          << 
 50 obj-$(CONFIG_BPF_PRELOAD) += preload/              38 obj-$(CONFIG_BPF_PRELOAD) += preload/
 51                                                    39 
 52 obj-$(CONFIG_BPF_SYSCALL) += relo_core.o           40 obj-$(CONFIG_BPF_SYSCALL) += relo_core.o
 53 obj-$(CONFIG_BPF_SYSCALL) += btf_iter.o        !!  41 $(obj)/relo_core.o: $(srctree)/tools/lib/bpf/relo_core.c FORCE
 54 obj-$(CONFIG_BPF_SYSCALL) += btf_relocate.o    !!  42         $(call if_changed_rule,cc_o_c)
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php