summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-04-14 22:17:55 +0100
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-04-26 22:38:53 +0100
commiteef582d3ce685214849aaa5a15898c3367554f3e (patch)
treed72995b070049da74da63409284e66767c68ec8f
parent539a63cb907534c63c69c96a1a30925d0624c1e2 (diff)
mesa: Use architecture specific configure options.
Only build the drivers available on aarch64.
-rw-r--r--org.freedesktop.Sdk.json20
1 files changed, 16 insertions, 4 deletions
diff --git a/org.freedesktop.Sdk.json b/org.freedesktop.Sdk.json
index d3572fd..7a2abf4 100644
--- a/org.freedesktop.Sdk.json
+++ b/org.freedesktop.Sdk.json
@@ -941,7 +941,21 @@
{
"name": "mesa",
"build-options" : {
- "cxxflags": "-O2 -g -fno-rtti -fno-exceptions"
+ "cxxflags": "-O2 -g -fno-rtti -fno-exceptions",
+ "arch" : {
+ "i386" : {
+ "config-opts" : [
+ "--with-gallium-drivers=svga,swrast,nouveau,r600,r300,radeonsi",
+ "--with-dri-drivers=swrast,nouveau,radeon,r200,i915,i965"
+ ]
+ },
+ "aarch64" : {
+ "config-opts" : [
+ "--with-gallium-drivers=svga,swrast,nouveau,freedreno,vc4",
+ "--with-dri-drivers=swrast,nouveau,radeon,r200"
+ ]
+ }
+ }
},
"config-opts": [
"--disable-selinux",
@@ -960,9 +974,7 @@
"--enable-gallium-llvm",
"--enable-llvm-shared-libs",
"--enable-dri",
- "--enable-sysfs",
- "--with-gallium-drivers=svga,swrast,nouveau,r600,r300,radeonsi",
- "--with-dri-drivers=swrast,nouveau,radeon,r200,i915,i965"
+ "--enable-sysfs"
],
"make-args": [ "MKDEP=/bin/true"],
"sources": [