aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-03-06 10:11:38 -0800
committerDylan Baker <[email protected]>2018-03-07 13:30:53 -0800
commit34e852d5b50772199797ea839fc8d6b3805633ff (patch)
tree96f0ab6a38e34ba04084fc4397a454e808f623e4 /src/gallium/meson.build
parent7598dedfde49391564cdb3d355e7bd98e1880782 (diff)
meson: Re-add auto option for omx
This re-adds the auto option for omx, without it we default to tizonia and the build fails almost immediately, this is especially obnoxious those building a driver that doesn't support the OMX state tracker to begin with. v2: - Only define OMX_FOO for auto cases if the dependencies are found. This fixes building tizonia with auto (Julien, Eric) CC: Gurkirpal Singh <[email protected]> Fixes: bb5e27fab6087a5c1528a5faf507acce700e883c ("st/omx/bellagio: Rename st and target directories") Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Jon Turney <[email protected]> (v1) Reviewed-by: Eric Engestrom <[email protected]> Tested-by: Julien Isorce <[email protected]> Tested-by: Karol Herbst <[email protected]> (v1)
Diffstat (limited to 'src/gallium/meson.build')
-rw-r--r--src/gallium/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build
index d3cbb76d94d..108234ad322 100644
--- a/src/gallium/meson.build
+++ b/src/gallium/meson.build
@@ -170,7 +170,7 @@ if with_gallium_xvmc
subdir('state_trackers/xvmc')
subdir('targets/xvmc')
endif
-if with_gallium_omx
+if with_gallium_omx != 'disabled'
subdir('state_trackers/omx')
subdir('targets/omx')
endif