aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-10-17 17:50:53 +0200
committerFelix Fietkau <nbd@nbd.name>2021-10-20 11:35:34 +0200
commitfaa6a9a04beda71da49dd2d96225e892899e84d7 (patch)
tree99eb26cc3383c8d5f167ac73a802a7ac2c5332ef /toolchain
parent1c07eab9f81f1ee99cc2ae36596bda81c12d5dbc (diff)
downloadupstream-faa6a9a04beda71da49dd2d96225e892899e84d7.tar.gz
upstream-faa6a9a04beda71da49dd2d96225e892899e84d7.tar.bz2
upstream-faa6a9a04beda71da49dd2d96225e892899e84d7.zip
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 <nbd@nbd.name>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in7
1 files changed, 7 insertions, 0 deletions
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