diff options
| author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2015-01-17 18:03:54 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-02-02 21:39:15 +0100 |
| commit | 2dde40081c49852bac0ee9c723911761bd5fc91e (patch) | |
| tree | 64203d9e664e8ae287e32e42a61db0937ba67aad | |
| parent | e083eefedb45fb3739e73e79c1787df536ebc1b3 (diff) | |
| download | buildroot-2dde40081c49852bac0ee9c723911761bd5fc91e.tar.gz buildroot-2dde40081c49852bac0ee9c723911761bd5fc91e.zip | |
package/mesa3d: Refactor XA support to prepare support for ATI drivers
[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>
| -rw-r--r-- | package/mesa3d/Config.in | 5 | ||||
| -rw-r--r-- | package/mesa3d/mesa3d.mk | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index eb977b6510..d8ee8c2e15 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -36,6 +36,9 @@ config BR2_PACKAGE_PROVIDES_LIBGL config BR2_PACKAGE_MESA3D_DRIVER bool +config BR2_PACKAGE_MESA3D_NEEDS_XA + bool + comment "Gallium drivers" config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU @@ -43,6 +46,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU depends on BR2_i386 || BR2_x86_64 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_LIBDRM_NOUVEAU + select BR2_PACKAGE_MESA3D_NEEDS_XA help Supports all Nvidia GPUs. @@ -51,6 +55,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA depends on BR2_i386 || BR2_x86_64 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_LIBDRM_VMWGFX + select BR2_PACKAGE_MESA3D_NEEDS_XA help This is a virtual GPU driver for VMWare virtual machines. diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 3d780f9e92..4ff7e094c5 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -36,7 +36,7 @@ MESA3D_DEPENDENCIES += \ libxcb MESA3D_CONF_OPTS += --enable-glx # quote from mesa3d configure "Building xa requires at least one non swrast gallium driver." -ifneq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU)$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA),) +ifneq ($(BR2_PACKAGE_MESA3D_NEEDS_XA),) MESA3D_CONF_OPTS += --enable-xa else MESA3D_CONF_OPTS += --disable-xa |

