diff options
author | Gurkirpal Singh <[email protected]> | 2018-01-20 05:37:53 +0530 |
---|---|---|
committer | Julien Isorce <[email protected]> | 2018-03-06 14:29:42 +0000 |
commit | e2afa154e99071e8d51be88494cd1347ad113035 (patch) | |
tree | 4abe510569a8309ff5b0cddd060941591f42be54 /src/gallium/targets | |
parent | bb5e27fab6087a5c1528a5faf507acce700e883c (diff) |
st/omx/tizonia: Add --enable-omx-tizonia flag and build files
Allow only bellagio or tizonia to be used at the same time.
Detect tizonia package config file
Generate libomx_mesa.so and install it to libtizcore.pc::pluginsdir
Only compile empty source (target.c) for now.
GSoC Project link: https://summerofcode.withgoogle.com/projects/#4737166321123328
Acked-by: Leo Liu <[email protected]>
Reviewed-by: Julien Isorce <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/omx/Makefile.am | 19 | ||||
-rw-r--r-- | src/gallium/targets/omx/omx.sym | 1 |
2 files changed, 18 insertions, 2 deletions
diff --git a/src/gallium/targets/omx/Makefile.am b/src/gallium/targets/omx/Makefile.am index 89ebcc045cb..32d61a189b4 100644 --- a/src/gallium/targets/omx/Makefile.am +++ b/src/gallium/targets/omx/Makefile.am @@ -3,7 +3,12 @@ include $(top_srcdir)/src/gallium/Automake.inc AM_CFLAGS = \ $(GALLIUM_TARGET_CFLAGS) +if HAVE_ST_OMX_BELLAGIO omxdir = $(OMX_BELLAGIO_LIB_INSTALL_DIR) +else +omxdir = $(OMX_TIZONIA_LIB_INSTALL_DIR) +endif + omx_LTLIBRARIES = libomx_mesa.la nodist_EXTRA_libomx_mesa_la_SOURCES = dummy.cpp @@ -24,15 +29,25 @@ endif # HAVE_LD_VERSION_SCRIPT libomx_mesa_la_LIBADD = \ $(top_builddir)/src/gallium/state_trackers/omx/libomxtracker_common.la \ - $(top_builddir)/src/gallium/state_trackers/omx/bellagio/libomxtracker.la \ $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la \ $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la \ $(top_builddir)/src/gallium/auxiliary/libgallium.la \ $(top_builddir)/src/util/libmesautil.la \ - $(OMX_BELLAGIO_LIBS) \ $(LIBDRM_LIBS) \ $(GALLIUM_COMMON_LIB_DEPS) +if HAVE_ST_OMX_BELLAGIO +libomx_mesa_la_LIBADD += \ + $(top_builddir)/src/gallium/state_trackers/omx/bellagio/libomxtracker.la \ + $(OMX_BELLAGIO_LIBS) +else +libomx_mesa_la_LIBADD += \ + $(top_builddir)/src/gallium/state_trackers/omx/tizonia/libomxtiztracker.la \ + $(OMX_TIZONIA_LIBS) \ + $(OMX_TIZILHEADERS_LIBS) \ + $(OMX_TIZPLATFORM_LIBS) +endif + if HAVE_PLATFORM_X11 libomx_mesa_la_LIBADD += \ $(VL_LIBS) \ diff --git a/src/gallium/targets/omx/omx.sym b/src/gallium/targets/omx/omx.sym index e8a287600a5..07b65e57643 100644 --- a/src/gallium/targets/omx/omx.sym +++ b/src/gallium/targets/omx/omx.sym @@ -1,5 +1,6 @@ { global: + OMX_ComponentInit; omx_component_library_Setup; # Workaround for an LLVM warning with -simplifycfg-sink-common |