summaryrefslogtreecommitdiffstats
path: root/package/mesa3d
Commit message (Collapse)AuthorAgeFilesLines
* mesa3d: specify llvm-prefixGustavo Zacarias2015-03-311-0/+3
| | | | | | | | | | | | When it's not defined an automatic search is triggered, which can find /usr/bin/llvm-config on distributions that include all development files (like gentoo) and have desktop packages installed. So point it towards the staging dir which is where it should live eventually if/when we've got it to avoid header/include path polution that otherwise leads to build failures. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump version to 10.5.1Bernd Kuhls2015-03-173-9/+65
| | | | | | | | | Dropped several dependencies because the "distribution tarball has been renamed and now contains all the generated sources." http://lists.freedesktop.org/archives/mesa-announce/2015-March/000145.html Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump version to 10.4.6Bernd Kuhls2015-03-072-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d-headers: new packageYann E. MORIN2015-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some OpenGL/EGL/GLES/VG providers do not provide the corresponding headers, and rely on using "the headers provided by the distribution". In our case, we can not rely on such headers, because we are not a distribution, and we have no way to provide those headers (not even speaking about relying on the headers provided by hte host distribution, because they might well not be installed at all). Also, we can not rely on another package to provide those headers, because we can only have one provider enabled in any configuration. The Khronos group provides such headers, and they are the reference headers, but we can not realy use them: - most of them are not packaged: they are not versioned and not provided in a tarball, but as separately downloadable files; - those headers are anyway incomplete: there are headers not provided by Khronos, like GL.h Instead, we rely on mesa3d to provide those headers: mesa3d has all the headers we need. Modifying the existing mesa3d package would not be easy; we'd have to differentiate whther we need only the headers or the full package. The meas3d Config.in and .mk are already quite non-trivial that adding such a feature would render them even more illegible. So, we introduce mea3d-headers as a new package, that is in fact just mesa3d with a much simplified Config.in and .mk, that other OpenXXX providers may select if they do not provide the OpenXXX headers. Note: we're not installing GLES3 headers, because what Buildroot currently calls libgles is in fact libgles2; we have no way to specify that we have libgles3. So, we just install headers for GLES and GLES2. [Thomas: - Wrap Config.in help text to a reasonable length. - Don't rely on mesa3d to provide mesa3d-headers: they should be mutually exclusive. Instead, error out if both packages are selected. - Take into account the update of mesa3d to 10.4.5. - Don't copy each header file individually, use a cp -dpfr call to copy entires header files directories.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump to version 10.4.5Bernd Kuhls2015-02-212-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump version to 10.4.4Bernd Kuhls2015-02-072-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: Enable support for Radeon r600 gallium driverBernd Kuhls2015-02-022-0/+10
| | | | | | | | | | -- v2: - rebased patch from micro1183: http://patchwork.ozlabs.org/patch/398858/ - removed support for r300 & radeonsi because they need llvm support which is not provided by buildroot Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mesa3d: use positive logic for XA enablingThomas Petazzoni2015-02-021-1/+1
| | | | | | | | | | | Thanks to commit 2dde40081c49852bac0ee9c723911761bd5fc91e ("package/mesa3d: Refactor XA support to prepare support for ATI drivers"), we now have the blind option BR2_PACKAGE_MESA3D_NEEDS_XA that indicates whether XA support is needed. This allows to switch to use positive logic in the test for XA in mesa3d.mk, which this commit does. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Refactor XA support to prepare support for ATI driversBernd Kuhls2015-02-022-1/+6
| | | | | | | | | | [Thomas: - move the new blind option next to the other existing blind options in the package. - edit the commit log to remove the changelog.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump version to 10.4.3Bernd Kuhls2015-01-252-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump version to 10.4.2Bernd Kuhls2015-01-142-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump version to 10.4.1Bernd Kuhls2015-01-042-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Bump version to 10.4.0Bernd Kuhls2014-12-144-50/+3
| | | | | | | | - removed mesa3d-0002-execinfo_h.patch, applied upstream - renamed remaining patch according to new convention Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: bump version to 10.3.5Bernd Kuhls2014-12-141-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-112-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* package/mesa3d: bump version to 10.3.4Bernd Kuhls2014-11-221-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump to 10.3.3Bernd Kuhls2014-11-082-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: Fix uClibc build with BR2_ENABLE_DEBUG=yesBernd Kuhls2014-10-261-0/+47
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: bump version to 10.3.2Bernd Kuhls2014-10-252-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Add hash fileBernd Kuhls2014-10-141-0/+2
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: Bump version to 10.3.1Bernd Kuhls2014-10-141-2/+2
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-16/+16
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Really disable dri3 supportBernd Kuhls2014-10-031-1/+1
| | | | | | | | | | Fixes http://autobuild.buildroot.net/results/49c/49c5ee7a8a0adff325f4cb484b91347de9e36ebb/ http://autobuild.buildroot.net/results/b02/b02f1c42ac9467626a21242770440e52baf9e4d2/ http://autobuild.buildroot.net/results/01a/01a3a3da833cbe8268af55320c6f354ef5b4f863/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mesa3d: fix build without dri driversPeter Korsgaard2014-09-281-1/+1
| | | | | | | | If no dri drivers are enabled, then mesa shouldn't get built with dri support. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
* package/mesa3d: Bump version to 10.3.0Bernd Kuhls2014-09-212-21/+14
| | | | | | | - rebased mesa3d-0001-Fix-khrplatform.h-not-installed-if-EGL-is-disabled.patch Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: add option for the i915 DRI driverYann E. MORIN2014-09-062-0/+9
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: Bump version to 10.2.7Bernd Kuhls2014-09-061-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: Add optional dependency xlib_libXxf86vmBernd Kuhls2014-09-041-0/+3
| | | | | | | | | | | | | | | | xlib_libXxf86vm is an optional dependency for the DRI drivers, quote from mesa3d/configure.ac: # add xf86vidmode if available PKG_CHECK_MODULES([XF86VIDMODE], [xxf86vm], HAVE_XF86VIDMODE=yes, HAVE_XF86VIDMODE=no) if test "$HAVE_XF86VIDMODE" = yes ; then dri_modules="$dri_modules xxf86vm" fi Add the package as an optional dependency to have reproducable builds. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2014-09-011-1/+1
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/mesa3d: Bump version to 10.2.6Bernd Kuhls2014-08-211-1/+1
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/mesa3d: fix comment about i965 DRI driverYann E. MORIN2014-08-311-1/+1
|/ | | | | | | | | | | | The help entry for the i965 DRI driver states that it supports alll Intel GPUs. That's not true, as at least the i915 series is not handled by this driver, but by a separate one. Fix the help text accordingly; remove the useless second part of the help text (which does not mean much for Buildroot.) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: Bump version to 10.2.5Bernd Kuhls2014-08-041-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Bump version to 10.2.4Bernd Kuhls2014-07-191-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Bump to version 10.2.3Bernd Kuhls2014-07-171-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Remove dependency for the libxml2 module of host-pythonBernd Kuhls2014-07-172-2/+0
| | | | | | | | | | | Remove the ugly BR2_PACKAGE_HOST_LIBXML2_PYTHON hack as well as mesa3d was the only package needing it, this is not the case anymore since: http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=2de70fe23f320ce4f559e37057fe07b7af99cf5a Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Depend on xorg meta package instead of xserver_xorg-serverBernd Kuhls2014-07-172-13/+13
| | | | | | | mesa3d does not depend on the xorg server as such, only on X libraries. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: Fix optional DRI3 supportBernd Kuhls2014-07-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DRI3 support is optional in mesa3d, but mesa3d expects it by default, so add configure options to disable it when necessary and add the needed dependencies for DRI3 support. Fixes: =============================== checking for DRI3PROTO... no configure: error: Package requirements (dri3proto >= 1.0) were not met: checking for PRESENTPROTO... no configure: error: Package requirements (presentproto >= 1.0) were not met: configure: error: Package requirements (x11 xext xdamage xfixes x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8 xcb-dri3 xcb-present xcb-sync xshmfence >= 1.1) were not met: Package xshmfence was not found in the pkg-config search path. =============================== This defconfig was broken and fixed by this patch: BR2_TOOLCHAIN_EXTERNAL=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y BR2_PACKAGE_XORG7=y BR2_PACKAGE_XSERVER_XORG_SERVER=y BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR=y BR2_PACKAGE_XPROTO_DRI3PROTO=y Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: depend on udevBernd Kuhls2014-06-111-2/+3
| | | | | | | | | | | | checking for LIBUDEV... no configure: error: libudev-dev required for building DRI Fixes http://autobuild.buildroot.net/results/16d/16d12b986051db884eae86e9658e6c4fc0f28885/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: rename the promptYann E. MORIN2014-06-081-1/+1
| | | | | | | | | | | | | | Rename the prompt for mesa3d so that it matches what we usually do for prompts of packages: just name the package in lower case. This will help generate nicer tables in the generated packages list, both in existing tables, and in the upcoming table of virtual packages. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mesa3d: Bump version to 10.2.1, fix xa buildBernd Kuhls2014-06-081-4/+8
| | | | | | | | Building xa requires at least one non swrast gallium driver, needed since: http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=10.2&id=e283e966660fdf037be6353dc96b7f63b8aa315a Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: make providers declare what they provideYann E. MORIN2014-05-211-0/+5
| | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.org/results/285/2851069d6964aa46d26b4aabe7d84e8c0c6c72ce http://autobuild.buildroot.net/results/9b7/9b7870354d70e27e42d3d9c1f131ab54706bf20e [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mesa3d: Fix gbm related compile errorBernd Kuhls2014-05-121-2/+0
| | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=78225#c1 "AFAICS both gbm backends require DRI" Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mesa3d: use --enable-shared-glapi also for Gallium driversBernd Kuhls2014-05-121-1/+1
| | | | | | | | | | | Needed since this upstream commit: http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=10.2&id=0432aa064bf5d4d0ad8fc3c4d648b8feb238ddfa Remove --disable-shared-glapi from the non-DRI-block, this would break with enabled Gallium drivers. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mesa3d: Add patch note about upstream bugBernd Kuhls2014-05-121-0/+2
| | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mesa3d: needs NPTL threadingBaruch Siach2014-04-201-2/+4
| | | | | | | | | | | | Strictly speaking, linuxthreads (new) should be enough, since it includes pthread_barrier_* implementation. However, we currently have no clean way to distinguish between LT and LT.old. Fixes: http://autobuild.buildroot.net/results/66a/66a9d2c664e0a9b2b0c51b998c72c2ceda90ff9b/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: always enable openGLYann E. MORIN2014-04-201-6/+3
| | | | | | | | | | | | | | | | | | | | | | | Currently, we only pass --enable-opengl is at least one DRI driver is enabled, since full OpenGL is only possible with a DRI driver (and the X.Org stack). Otherwise, we pass --disable-opengl on the assumption that OpenGL is not possible. But mesa3d's ./configure is a bit weird: enabling OpenGL-ES and diabling full OpenGL is an error (see autobuild failure below). It turns out that, if there is no DRI driver enabled, but --enable-opengl is passed, ./configure will behave properly wrt OpenGL-ES, and will not build the full OpenGL libgl. Thanks to Paul for explaining this. Fixes: http://autobuild.buildroot.net/results/61c/61c1c566dc0e829cb663ca30b1fd6cf9cc6cd931/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: with a DRI driver, is a full OpenGL providerYann E. MORIN2014-04-171-0/+4
| | | | | | | | | | | | | | | | | Make mesa3d a provider for full OpenGL, as soon as a DRI driver is enabled. Full OpenGL is only possible when: - a DRI driver is enabled, - and X.Org is enabled Since DRI driver in fact depend on X.Org being enabled in the first place, we can safely declare mesa3d as a full openGL provider as soon as at least one DRI driver is enabled. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <berndkuhls@hotmail.com> Cc: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: only enable full OpenGL when a DRI driver is enabledYann E. MORIN2014-04-171-3/+3
| | | | | | | | | | | | | | | | | | | | Full OpenGL is only provided when: - a DRI driver is enabled, - and X.Org is enabled Since DRI driver depend on X.Org being selected, this means that we can (have to) enable full OpenGL as soon as a DRI driver is enabled. On the other hand, Gallium drivers, which currently do enable full OpenGL, only really provide OpenGL EGL and GLES, not full OpenGL. So we exclude Gallium drivers when checking whether to enable full OpenGL in mesa3d. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Paul Cercueil <paul@crapouillou.net> Cc: Bernd Kuhls <berndkuhls@hotmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: simplify the code enabling full-OpenGLYann E. MORIN2014-04-171-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, full-OpenGL is enabled by checking that at least one driver is enabled. This is done by checking that the just-constructed lists of drivers are not empty. But we already have a variable that is set to 'y' as soon as a driver is selected: - DRI drivers select BR2_PACKAGE_MESA3D_DRI_DRIVER - Gallium drivers select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - both BR2_PACKAGE_MESA3D_DRI_DRIVER and BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_MESA3D_DRIVER So, BR2_PACKAGE_MESA3D_DRIVER is set to 'y' as soon as at least one driver is selected. We can use that variable rather than comparing the lists of drivers. Also, rearrange the code in a more logical way, by moving the code that enables OpenGL nearer to the code enabling EGL and GLES. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Paul Cercueil <paul@crapouillou.net> Cc: Bernd Kuhls <berndkuhls@hotmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: add comment for when OpenGL EGL is not availableYann E. MORIN2014-04-171-1/+4
| | | | | | | | | | | | | OpenGL EGL needs udev support, so add a comment stating so. Also, reword the OpenGL EGL prompt to be in the same format as the OpenGL ES prompt (and like the full OpenGL prompt that will shortly be added, too.) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Paul Cercueil <paul@crapouillou.net> Cc: Bernd Kuhls <berndkuhls@hotmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud