summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/meson.build2
-rw-r--r--src/gallium/state_trackers/omx/meson.build18
2 files changed, 10 insertions, 10 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
diff --git a/src/gallium/state_trackers/omx/meson.build b/src/gallium/state_trackers/omx/meson.build
index 9470468d753..b0c71a895ff 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,