From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valentin Korenblit Date: Sat, 3 Nov 2018 15:24:26 +0100 Subject: [Buildroot] [PATCH 2/4] llvm: enable bpf In-Reply-To: References: <20181103122758.10578-1-fontaine.fabrice@gmail.com> <20181103122758.10578-2-fontaine.fabrice@gmail.com> <20181103141443.3c86e3f9@windsurf> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Fabrice, Thomas, > Dear Thomas, > Le sam. 3 nov. 2018 ? 14:14, Thomas Petazzoni > a ?crit : >> Hello, >> >> On Sat, 3 Nov 2018 13:27:56 +0100, Fabrice Fontaine wrote: >>> BPF (in-kernel bytecode machine) is needed by libv4l >>> >>> Signed-off-by: Fabrice Fontaine >>> --- >>> package/llvm/llvm.mk | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk >>> index 1f9bd447f5..dae5d3f16d 100644 >>> --- a/package/llvm/llvm.mk >>> +++ b/package/llvm/llvm.mk >>> @@ -54,6 +54,9 @@ ifeq ($(BR2_PACKAGE_LLVM_AMDGPU),y) >>> LLVM_TARGETS_TO_BUILD += AMDGPU >>> endif >>> >>> +# Build BPF (in-kernel bytecode machine) >>> +LLVM_TARGETS_TO_BUILD += BPF >> Perhaps we should make this optional ? Or maybe the build time >> difference is not that significant ? > llvm and clang are already taking a long time to build on my "old" > machine, I didn't notice a significant difference with or without BPF > but I didn't measure it. I think we should add a new option just like we did with AMDGPU backend as we said we were only going to build backend for target archictecture by default. >> Best regards, >> >> Thomas >> -- >> Thomas Petazzoni, CTO, Bootlin >> Embedded Linux and Kernel engineering >> https://bootlin.com > Best Regards, > > Fabrice Best regards, Valentin -------------- next part -------------- An HTML attachment was scrubbed... URL: