mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
configure.ac: add tizonia target for --with-omx-target flag.
This will check for tizilheaders.pc which adds path to omx-il headers its cflags. Can be installed all together with the 1.2 headers with package tizilheaders if not building from sources: https://github.com/tizonia/tizonia-openmax-il It is also adviced to remove libomxil-bellagio-dev package because it installs headers /usr/include directly, ex: /usr/include/OMX_Video.h. https://bugzilla.gnome.org/show_bug.cgi?id=782800
This commit is contained in:
parent
c7e66b473f
commit
ae14bb362a
1 changed files with 11 additions and 1 deletions
12
configure.ac
12
configure.ac
|
@ -198,12 +198,16 @@ case "${ac_cv_omx_target}" in
|
|||
zynqultrascaleplus)
|
||||
AC_DEFINE(USE_OMX_TARGET_ZYNQ_USCALE_PLUS, 1, [Use Zynq UltraScale+ OpenMAX IL target])
|
||||
;;
|
||||
tizonia)
|
||||
AC_DEFINE(USE_OMX_TARGET_TIZONIA, 1, [Use Tizonia OpenMAX IL target])
|
||||
;;
|
||||
none|*)
|
||||
AC_ERROR([invalid OpenMAX IL target, you must specify one of --with-omx-target={generic,rpi,bellagio,zynqultrascaleplus}])
|
||||
AC_ERROR([invalid OpenMAX IL target, you must specify one of --with-omx-target={generic,rpi,bellagio,tizonia,zynqultrascaleplus}])
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL(USE_OMX_TARGET_GENERIC, test "x$ac_cv_omx_target" = "xgeneric")
|
||||
AM_CONDITIONAL(USE_OMX_TARGET_BELLAGIO, test "x$ac_cv_omx_target" = "xbellagio")
|
||||
AM_CONDITIONAL(USE_OMX_TARGET_TIZONIA, test "x$ac_cv_omx_target" = "xtizonia")
|
||||
AM_CONDITIONAL(USE_OMX_TARGET_RPI, test "x$ac_cv_omx_target" = "xrpi")
|
||||
AM_CONDITIONAL(USE_OMX_TARGET_ZYNQ_USCALE_PLUS, test "x$ac_cv_omx_target" = "xzynqultrascaleplus")
|
||||
|
||||
|
@ -219,6 +223,12 @@ elif test x"$ac_cv_omx_target_struct_packing" != x"none"; then
|
|||
AC_DEFINE_UNQUOTED(GST_OMX_STRUCT_PACKING, $ac_cv_omx_target_struct_packing, [The struct packing used for OpenMAX structures])
|
||||
fi
|
||||
|
||||
dnl settings for tizonia target
|
||||
if test "x$ac_cv_omx_target" = "xtizonia"; then
|
||||
PKG_CHECK_MODULES([TIZONIA], [tizilheaders])
|
||||
CPPFLAGS="$CPPFLAGS $TIZONIA_CFLAGS"
|
||||
fi
|
||||
|
||||
AC_ARG_WITH([omx-header-path],
|
||||
AS_HELP_STRING([--with-omx-header-path],[path of external OpenMAX IL header files]),
|
||||
[omx_header_path="$withval"], [omx_header_path="none"])
|
||||
|
|
Loading…
Reference in a new issue