subdir ('bellagio')
elif omx_target == 'zynqultrascaleplus'
subdir ('zynqultrascaleplus')
+elif omx_target == 'tizonia'
+ subdir ('tizonia')
endif
-install_data (['gstomx.conf'], install_dir : omx_conf_dir)
+infile = 'gstomx.conf.in'
+outfile = 'gstomx.conf'
+configure_file(input : infile,
+ output : outfile,
+ configuration : cdata,
+ install_dir : omx_conf_dir)
glib_req = '>= 2.40.0'
gst_req = '>= @0@.@1@.0'.format(gst_version_major, gst_version_minor)
-
+tizil_req = '>= 0.1.0'
api_version = '1.0'
soversion = 0
# maintaining compatibility with the previous libtool versioning
cdata.set('USE_OMX_TARGET_BELLAGIO', 1)
elif omx_target == 'zynqultrascaleplus'
cdata.set('USE_OMX_TARGET_ZYNQ_USCALE_PLUS', 1)
+elif omx_target == 'tizonia'
+ cdata.set('USE_OMX_TARGET_TIZONIA', 1)
+ tizil_dep = dependency('tizilheaders', version : tizil_req)
+ cdata.set('TIZONIA_LIBDIR', tizil_dep.get_pkgconfig_variable('libdir'))
+ tizil_includedir = tizil_dep.get_pkgconfig_variable('includedir')
+ add_global_arguments('-I' + tizil_includedir + '/tizonia', language : 'C')
else
error ('Unsupported omx target specified. Use the -Dwith_omx_target option')
endif
option('with_omx_header_path', type : 'string', value : '', description : 'An extra include directory to find the OpenMax headers')
-option('with_omx_target', type : 'combo', choices : ['none', 'generic', 'rpi', 'bellagio', 'zynqultrascaleplus'], value : 'none', description : 'The OMX platform to target')
+option('with_omx_target', type : 'combo', choices : ['none', 'generic', 'rpi', 'bellagio', 'tizonia', 'zynqultrascaleplus'], value : 'none', description : 'The OMX platform to target')
option('with_omx_struct_packing', type : 'combo', choices : ['0', '1', '2', '4', '8'], value : '0', description : 'Force OpenMAX struct packing')