diff options
author | Romain Naour <romain.naour@gmail.com> | 2018-04-28 19:28:02 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-05-01 22:56:35 +0200 |
commit | 77a110aa1c22afc88106a753005fb068848419a1 (patch) | |
tree | 2cfa3ed9404df16a7dcc3a56cdacc6ca817622f3 | |
parent | 3764f8773b89babeb86dd9d5b6b8bccdd77d2c8f (diff) | |
download | buildroot-77a110aa1c22afc88106a753005fb068848419a1.tar.gz buildroot-77a110aa1c22afc88106a753005fb068848419a1.zip |
package/mesa3d: RadeonSI needs llvm support
Fixes:
checking for AMDGPU... yes
configure: error: --enable-llvm is required when building radeonsi
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: MichaĆ Kalbarczyk <michal@gamecodehq.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r-- | package/mesa3d/Config.in | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 32337a36a4..d620c0ab52 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -117,21 +117,20 @@ comment "R600 driver needs a uClibc or glibc toolchain when llvm is enabled" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI bool "Gallium Radeon SI driver" depends on BR2_i386 || BR2_x86_64 - depends on !BR2_PACKAGE_MESA3D_LLVM || \ - (BR2_PACKAGE_MESA3D_LLVM && (BR2_TOOLCHAIN_USES_UCLIBC || \ - BR2_TOOLCHAIN_USES_GLIBC)) # elfutils + depends on BR2_PACKAGE_MESA3D_LLVM + depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_LIBDRM_AMDGPU select BR2_PACKAGE_LIBDRM_RADEON - select BR2_PACKAGE_LLVM_AMDGPU if BR2_PACKAGE_MESA3D_LLVM - select BR2_PACKAGE_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM + select BR2_PACKAGE_LLVM_AMDGPU + select BR2_PACKAGE_ELFUTILS select BR2_PACKAGE_MESA3D_NEEDS_XA help Driver for ATI/AMD Radeon HD7000/HD8000/Rx200 GPUs. -# Radeon SI needs libelf when Mesa3D is built with LLVM support +# Radeon SI needs libelf # musl is not currently compatible with elfutils -comment "Radeon SI driver needs a uClibc or glibc toolchain when llvm is enabled" +comment "Radeon SI driver needs a uClibc or glibc toolchain" depends on BR2_PACKAGE_MESA3D_LLVM depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) |