Commit 307d149d authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Daniel Borkmann
Browse files

bpf, mips: Clean up config options about JIT



The config options MIPS_CBPF_JIT and MIPS_EBPF_JIT are useless, remove
them in arch/mips/Kconfig, and then modify arch/mips/net/Makefile.

Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarJohan Almbladh <johan.almbladh@anyfinetworks.com>
Link: https://lore.kernel.org/bpf/1633915150-13220-2-git-send-email-yangtiezhu@loongson.cn
parent 5319255b
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -1214,15 +1214,6 @@ config SYS_SUPPORTS_RELOCATABLE
	  The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF
	  to allow access to command line and entropy sources.

config MIPS_CBPF_JIT
	def_bool y
	depends on BPF_JIT && HAVE_CBPF_JIT

config MIPS_EBPF_JIT
	def_bool y
	depends on BPF_JIT && HAVE_EBPF_JIT


#
# Endianness selection.  Sufficiently obscure so many users don't know what to
# answer,so we try hard to limit the available choices.  Also the use of a
+3 −3
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
# MIPS networking code

obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp.o
obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o

ifeq ($(CONFIG_32BIT),y)
        obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp32.o
        obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o
else
        obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp64.o
        obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o
endif