package/mesa3d-demos: Fix build error
Fixes http://autobuild.buildroot.net/results/8f2/8f292f1151089d20f33c599320941cb5435c0199/ http://autobuild.buildroot.net/results/f3d/f3db50d0c5c74fecafd6b4bdd89f97e8e566d820/ http://autobuild.buildroot.net/results/ac0/ac0f22bf87e2b48bd2191de88999404d1c55de9b/ http://autobuild.buildroot.net/results/da8/da87a3e81b19ad038661f5653b544f4c8cfd389d/ http://autobuild.buildroot.net/results/d51/d51d22754a37f790d2de5a4836237b8eea417124/ http://autobuild.buildroot.net/results/347/347b2f79111548ae00f40879c1b5f3c4c1c7091e/ http://autobuild.buildroot.net/results/aef/aef73a3bc770c3784025642f6a2c276944117112/ http://autobuild.buildroot.net/results/901/90152f1cfa09ad4d37700b340204f8b75850c582/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
f785130d68
commit
956823ded7
|
@ -1,5 +1,7 @@
|
||||||
config BR2_PACKAGE_MESA3D_DEMOS
|
config BR2_PACKAGE_MESA3D_DEMOS
|
||||||
bool "mesa3d-demos"
|
bool "mesa3d-demos"
|
||||||
|
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
||||||
|
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
||||||
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES \
|
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES \
|
||||||
|| BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBOPENVG
|
|| BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBOPENVG
|
||||||
help
|
help
|
||||||
|
|
|
@ -11,11 +11,11 @@ MESA3D_DEMOS_AUTORECONF = YES
|
||||||
MESA3D_DEMOS_DEPENDENCIES = host-pkgconf
|
MESA3D_DEMOS_DEPENDENCIES = host-pkgconf
|
||||||
MESA3D_DEMOS_LICENSE = MIT
|
MESA3D_DEMOS_LICENSE = MIT
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
ifeq ($(BR2_PACKAGE_XORG7)$(BR2_PACKAGE_HAS_LIBGL),yy)
|
||||||
MESA3D_DEMOS_DEPENDENCIES += libgl libglew libglu
|
MESA3D_DEMOS_DEPENDENCIES += libgl libglew libglu xlib_libX11 xlib_libXext
|
||||||
MESA3D_DEMOS_CONF_OPTS += --enable-gl
|
MESA3D_DEMOS_CONF_OPTS += --enable-gl --enable-x11
|
||||||
else
|
else
|
||||||
MESA3D_DEMOS_CONF_OPTS += --disable-gl
|
MESA3D_DEMOS_CONF_OPTS += --disable-gl --disable-x11
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
|
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
|
||||||
|
|
Loading…
Reference in a new issue