summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-03-06 10:11:38 -0800
committerDylan Baker <dylan@pnwbakers.com>2018-03-07 13:30:53 -0800
commit34e852d5b50772199797ea839fc8d6b3805633ff (patch)
tree96f0ab6a38e34ba04084fc4397a454e808f623e4 /src/gallium/state_trackers
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 <gurkirpal204@gmail.com> Fixes: bb5e27fab6087a5c1528a5faf507acce700e883c ("st/omx/bellagio: Rename st and target directories") Signed-off-by: Dylan Baker <dylan.c.baker@intel.com> Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk> (v1) Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Tested-by: Julien Isorce <julien.isorce@gmail.com> Tested-by: Karol Herbst <kherbst@redhat.com> (v1)
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/omx/meson.build18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gallium/state_trackers/omx/meson.build b/src/gallium/state_trackers/omx/meson.build
index 9470468d75..b0c71a895f 100644
--- a/src/gallium/state_trackers/omx/meson.build
+++ b/src/gallium/state_trackers/omx/meson.build
@@ -28,7 +28,7 @@ files_omx = files(
'vid_omx_common.c'
)
-if gallium_omx == 'bellagio'
+if with_gallium_omx == 'bellagio'
files_omx += files(
'bellagio/entrypoint.c',
'bellagio/vid_dec.c',
@@ -37,16 +37,16 @@ files_omx += files(
'bellagio/vid_dec_h265.c',
'bellagio/vid_enc.c'
)
-elif gallium_omx == 'tizonia'
+elif with_gallium_omx == 'tizonia'
files_omx += files(
'tizonia/entrypoint.c',
- 'tizonia/h264d.c',
- 'tizonia/h264dprc.c',
- 'tizonia/h264dinport.c',
- 'tizonia/h264e.c',
- 'tizonia/h264eprc.c',
- 'tizonia/h264einport.c',
- 'tizonia/h264eoutport.c'
+ 'tizonia/h264d.c',
+ 'tizonia/h264dprc.c',
+ 'tizonia/h264dinport.c',
+ 'tizonia/h264e.c',
+ 'tizonia/h264eprc.c',
+ 'tizonia/h264einport.c',
+ 'tizonia/h264eoutport.c'
)
inc_st_omx = [
inc_st_omx,