mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
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>
This commit is contained in:
parent
e083eefedb
commit
2dde40081c
@ -36,6 +36,9 @@ config BR2_PACKAGE_PROVIDES_LIBGL
|
|||||||
config BR2_PACKAGE_MESA3D_DRIVER
|
config BR2_PACKAGE_MESA3D_DRIVER
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config BR2_PACKAGE_MESA3D_NEEDS_XA
|
||||||
|
bool
|
||||||
|
|
||||||
comment "Gallium drivers"
|
comment "Gallium drivers"
|
||||||
|
|
||||||
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
|
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
|
depends on BR2_i386 || BR2_x86_64
|
||||||
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
||||||
select BR2_PACKAGE_LIBDRM_NOUVEAU
|
select BR2_PACKAGE_LIBDRM_NOUVEAU
|
||||||
|
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
||||||
help
|
help
|
||||||
Supports all Nvidia GPUs.
|
Supports all Nvidia GPUs.
|
||||||
|
|
||||||
@ -51,6 +55,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
|
|||||||
depends on BR2_i386 || BR2_x86_64
|
depends on BR2_i386 || BR2_x86_64
|
||||||
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
||||||
select BR2_PACKAGE_LIBDRM_VMWGFX
|
select BR2_PACKAGE_LIBDRM_VMWGFX
|
||||||
|
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
||||||
help
|
help
|
||||||
This is a virtual GPU driver for VMWare virtual machines.
|
This is a virtual GPU driver for VMWare virtual machines.
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ MESA3D_DEPENDENCIES += \
|
|||||||
libxcb
|
libxcb
|
||||||
MESA3D_CONF_OPTS += --enable-glx
|
MESA3D_CONF_OPTS += --enable-glx
|
||||||
# quote from mesa3d configure "Building xa requires at least one non swrast gallium driver."
|
# 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
|
MESA3D_CONF_OPTS += --enable-xa
|
||||||
else
|
else
|
||||||
MESA3D_CONF_OPTS += --disable-xa
|
MESA3D_CONF_OPTS += --disable-xa
|
||||||
|
Loading…
x
Reference in New Issue
Block a user