[Buildroot] [PATCH 1/2] package/mesa3d: add missing elfutils dependency with R600 driver

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Apr 28 15:59:52 UTC 2018


Hello,

On Sat, 28 Apr 2018 17:52:51 +0200, Romain Naour wrote:
> Commit "add dependency on elfutils for R600 with LLVM" [1] select
> elfutils package at Kconfig level without adding it the make dependency.
> 
> Enabling r600 support lead to a build issue when building from
> scratch with "make mesa3d":
> checking for RADEON... yes
> configure: error: r600 requires libelf when using llvm
> 
> elfutils dependency is needed by r600 with llvm support and radeonSI.
> 
> [1] 92fda8761aa8024be53a8edb8c102d1ba6401bce
> 
> Signed-off-by: Romain Naour <romain.naour at gmail.com>
> Cc: Valentin Korenblit <valentin.korenblit at smile.fr>

Perhaps introduce a BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS hidden Config.in
boolean, select it from the right drivers, and use that in the .mk
file ?

Best regards,

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


More information about the buildroot mailing list