[Buildroot] [PATCH v4 03/11] package/llvm: enable AMDGPU

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Mar 30 19:06:41 UTC 2018


Hello,

On Fri, 30 Mar 2018 20:08:28 +0200, Arnout Vandecappelle wrote:

>  Or maybe
> 
> LLVM_TARGETS_TO_BUILD = $(HOST_LLVM_TARGET_ARCH)
> 
> ifeq ($(BR2_PACKAGE_LLVM_AMDGPU),y)
> LLVM_TARGETS_TO_BUILD += AMDGPU
> endif
> 
> LLVM_CONF_OPTS = -DLLVM_TARGETS_TO_BUILD=$(subst
> $(space),;,$(LLVM_TARGETS_TO_BUILD))
> 
> 
>  Or is that too much GNUmake black magic?

No, that's good.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list