3aaf596b60
Buildroot commit f9a91bf60e bumped
igt-gpu-tools to 2.3 which includes upstream commit
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/ff3b7435bc56e34cf8b97c44ff32b7a1cc5dab7a
which limits the package to little endian archs causing build errors
on big endian archs:
In file included from ../lib/igt_panthor.c:5:
../lib/igt_panthor.h:61:2: error: #error "big endian not supported"
61 | #error "big endian not supported"
Fixes:
https://autobuild.buildroot.org/results/e3faeba1bff3d0e781032ddc9a760f34a9bf5714/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
config BR2_PACKAGE_IGT_GPU_TOOLS_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_ENDIAN = "LITTLE"
|
|
|
|
config BR2_PACKAGE_IGT_GPU_TOOLS
|
|
bool "igt-gpu-tools"
|
|
depends on BR2_PACKAGE_IGT_GPU_TOOLS_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_ENABLE_LOCALE
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_USE_WCHAR # elfutils, procps-ng
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 # linux/dma-buf.h
|
|
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps-ng
|
|
select BR2_PACKAGE_CAIRO
|
|
select BR2_PACKAGE_CAIRO_PNG
|
|
select BR2_PACKAGE_ELFUTILS
|
|
select BR2_PACKAGE_KMOD
|
|
select BR2_PACKAGE_LIBDRM
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_LIBPCIACCESS
|
|
select BR2_PACKAGE_PIXMAN
|
|
select BR2_PACKAGE_PROCPS_NG
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
IGT GPU Tools is a collection of tools for development and
|
|
testing of the DRM drivers.
|
|
|
|
https://gitlab.freedesktop.org/drm/igt-gpu-tools
|
|
|
|
if BR2_PACKAGE_IGT_GPU_TOOLS
|
|
|
|
config BR2_PACKAGE_IGT_GPU_TOOLS_TESTS
|
|
bool "enable tests"
|
|
help
|
|
Enable IGT tests, resulting in individual executables
|
|
for GPU testing under /usr/libexec/igt-gpu-tools.
|
|
|
|
endif
|
|
|
|
comment "igt-gpu-tools needs udev /dev management and toolchain w/ NPTL, wchar, dynamic library, locale, headers >= 4.11"
|
|
depends on BR2_PACKAGE_IGT_GPU_TOOLS_ARCH_SUPPORTS
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR || \
|
|
!BR2_ENABLE_LOCALE || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
|