From faa6a9a04beda71da49dd2d96225e892899e84d7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 17 Oct 2021 17:50:53 +0200 Subject: tools/llvm-bpf: add llvm+clang build suitable for compiling code to eBPF Preparation for building packages that ship eBPF code Signed-off-by: Felix Fietkau --- toolchain/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'toolchain/Config.in') diff --git a/toolchain/Config.in b/toolchain/Config.in index 8ff5438d79..1d230ca22f 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -37,6 +37,13 @@ menuconfig TARGET_OPTIONS Most people will answer N. +config BUILD_LLVM_BPF + bool "Build LLVM toolchain for eBPF" if DEVEL + help + If enabled, a LLVM toolchain for building eBPF binaries will be built. + If this is not enabled, eBPF packages can only be built if the host + has a suitable toolchain + menuconfig EXTERNAL_TOOLCHAIN bool -- cgit v1.2.3