mesa: Build dri drivers only for x86
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
parent
10d85c66e4
commit
b03bb81bb0
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
name = mesa
|
name = mesa
|
||||||
version = 9.0.2
|
version = 9.0.2
|
||||||
release = 2
|
release = 4
|
||||||
|
|
||||||
groups = Development/Tools
|
groups = Development/Tools
|
||||||
url = http://www.mesa3d.org
|
url = http://www.mesa3d.org
|
||||||
|
@ -45,7 +45,7 @@ build
|
||||||
DIR_APP = %{DIR_SRC}/Mesa-%{version}
|
DIR_APP = %{DIR_SRC}/Mesa-%{version}
|
||||||
|
|
||||||
if "%{DISTRO_PLATFORM}" == "x86"
|
if "%{DISTRO_PLATFORM}" == "x86"
|
||||||
platform_drivers = ,i915,i965
|
platform_drivers = nouveau,radeon,i915,i965
|
||||||
end
|
end
|
||||||
|
|
||||||
configure_options += \
|
configure_options += \
|
||||||
|
@ -54,7 +54,7 @@ build
|
||||||
--enable-pic \
|
--enable-pic \
|
||||||
--enable-dri \
|
--enable-dri \
|
||||||
--enable-egl \
|
--enable-egl \
|
||||||
--with-dri-drivers="nouveau,radeon,r200%{platform_drivers}" \
|
--with-dri-drivers="%{platform_drivers}" \
|
||||||
--with-gallium-drivers=swrast \
|
--with-gallium-drivers=swrast \
|
||||||
--disable-asm \
|
--disable-asm \
|
||||||
--disable-gallium-llvm \
|
--disable-gallium-llvm \
|
||||||
|
|
Loading…
Reference in New Issue