[Buildroot] [PATCH v5 1/1] glmark2: new package
Bernd Kuhls
bernd.kuhls at t-online.de
Sat Jan 10 19:00:05 UTC 2015
[posted and mailed to Thomas]
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote in
news:20141207222234.GK10809 at free.fr:
>> +GLMARK2_DEPENDENCIES = host-pkgconf jpeg libpng mesa3d
>
> Although this is currently correct because we really require mesa3d, I
> think it would be better to handle it with the virtual packages:
>
> GLMARK2_DEPENDENCIES += \
> $(if $(BR2_PACKAGE_HAS_LIBEGL),libegl) \
> $(if $(BR2_PACKAGE_HAS_LIBGLES),libgles) \
> $(if $(BR2_PACKAGE_HAS_LIBGL),libgl)
Hi,
this leads to a problem when more than one provider for a virtual package is
selected, Thomas send me this defconfig:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2
_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/b
r-arm-full-2014.11.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17=y
BR2_TOOLCHAIN_EXTERNAL_LARGEFILE=y
BR2_TOOLCHAIN_EXTERNAL_INET_IPV6=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_GLMARK2=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_RPI_USERLAND=y
This is the configure error message:
Checking for 'egl' : yes
Checking for 'glesv2' : yes
Checking for 'libdrm' : not found
The configuration failed
Compilation of glmark2 fails because it uses rpi-userland as libegl/gles
provider instead of mesa3d, mesa3d is not compiled at all :(
I will send an updated patch for glmark2 to fix its dependencies.
Regards, Bernd
More information about the buildroot
mailing list