tools/llvm-bpf: add llvm+clang build suitable for compiling code to eBPF
[openwrt/staging/dedeckeh.git] / toolchain / Config.in
index 8ff5438d7991c434005cdf57827f33174e8e2fae..1d230ca22f47c72b82c51c66a8dc9b61b4af5e6e 100644 (file)
@@ -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