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 --- tools/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index f794e57f2e..dc665f6b46 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -35,6 +35,7 @@ tools-$(CONFIG_TARGET_mxs) += elftosb sdimage tools-$(CONFIG_TARGET_tegra) += cbootimage cbootimage-configs tools-$(CONFIG_USES_MINOR) += kernel2minor tools-$(CONFIG_USE_SPARSE) += sparse +tools-$(CONFIG_BUILD_LLVM_BPF) += llvm-bpf # builddir dependencies $(curdir)/autoconf/compile := $(curdir)/m4/compile @@ -56,6 +57,7 @@ $(curdir)/isl/compile := $(curdir)/gmp/compile $(curdir)/libressl/compile := $(curdir)/pkgconf/compile $(curdir)/libtool/compile := $(curdir)/m4/compile $(curdir)/autoconf/compile $(curdir)/automake/compile $(curdir)/missing-macros/compile $(curdir)/lzma-old/compile := $(curdir)/zlib/compile +$(curdir)/llvm-bpf/compile := $(curdir)/cmake/compile $(curdir)/make-ext4fs/compile := $(curdir)/zlib/compile $(curdir)/meson/compile := $(curdir)/ninja/compile $(curdir)/missing-macros/compile := $(curdir)/autoconf/compile -- cgit v1.2.3