2017-01-17 15:43:44 +00:00
|
|
|
if omx_target == 'rpi'
|
2017-10-16 12:47:07 +00:00
|
|
|
sub = 'rpi'
|
2017-01-17 15:43:44 +00:00
|
|
|
elif omx_target == 'bellagio'
|
2017-10-16 12:47:07 +00:00
|
|
|
sub = 'bellagio'
|
2017-05-22 09:23:33 +00:00
|
|
|
elif omx_target == 'zynqultrascaleplus'
|
2017-10-16 12:47:07 +00:00
|
|
|
sub = 'zynqultrascaleplus'
|
2017-07-03 21:45:00 +00:00
|
|
|
elif omx_target == 'tizonia'
|
2017-10-16 12:47:07 +00:00
|
|
|
sub = 'tizonia'
|
|
|
|
else
|
|
|
|
# No config file defined for the 'generic' target
|
|
|
|
sub = ''
|
|
|
|
endif
|
|
|
|
|
|
|
|
if sub != ''
|
|
|
|
subdir (sub)
|
|
|
|
# Used by tests to load the proper conf file
|
|
|
|
omx_config_dir = join_paths (meson.current_source_dir(), sub)
|
2022-02-21 16:37:26 +00:00
|
|
|
meson.add_devenv({'GST_OMX_CONFIG_DIR': omx_config_dir})
|
2017-10-16 12:47:07 +00:00
|
|
|
else
|
|
|
|
omx_config_dir = ''
|
2017-01-17 15:43:44 +00:00
|
|
|
endif
|