package/gstreamer1/gst-omx: default to pass --with-omx-target=generic
target defaults to none, which isn't a legal target: configure: Using none as OpenMAX IL target configure: error: invalid OpenMAX IL target, you must specify one of --with-omx-target={generic,rpi,bellagio,tizonia,zynqultrascaleplus} Instead default to 'generic', fixing the build with E.G. nvidia-tegra23. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
6779367ad5
commit
cc41950950
@ -11,9 +11,10 @@ GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx
|
|||||||
GST_OMX_LICENSE = LGPL-2.1
|
GST_OMX_LICENSE = LGPL-2.1
|
||||||
GST_OMX_LICENSE_FILES = COPYING
|
GST_OMX_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
GST_OMX_VARIANT = generic
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||||
GST_OMX_CONF_OPTS = \
|
GST_OMX_VARIANT = rpi
|
||||||
--with-omx-target=rpi
|
|
||||||
GST_OMX_CONF_ENV = \
|
GST_OMX_CONF_ENV = \
|
||||||
CFLAGS="$(TARGET_CFLAGS) \
|
CFLAGS="$(TARGET_CFLAGS) \
|
||||||
-I$(STAGING_DIR)/usr/include/IL \
|
-I$(STAGING_DIR)/usr/include/IL \
|
||||||
@ -22,8 +23,7 @@ GST_OMX_CONF_ENV = \
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_BELLAGIO),y)
|
ifeq ($(BR2_PACKAGE_BELLAGIO),y)
|
||||||
GST_OMX_CONF_OPTS = \
|
GST_OMX_VARIANT = bellagio
|
||||||
--with-omx-target=bellagio
|
|
||||||
GST_OMX_CONF_ENV = \
|
GST_OMX_CONF_ENV = \
|
||||||
CFLAGS="$(TARGET_CFLAGS) \
|
CFLAGS="$(TARGET_CFLAGS) \
|
||||||
-DOMX_VERSION_MAJOR=1 \
|
-DOMX_VERSION_MAJOR=1 \
|
||||||
@ -32,6 +32,8 @@ GST_OMX_CONF_ENV = \
|
|||||||
-DOMX_VERSION_STEP=0"
|
-DOMX_VERSION_STEP=0"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
GST_OMX_CONF_OPTS += --with-omx-target=$(GST_OMX_VARIANT)
|
||||||
|
|
||||||
GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base libopenmax
|
GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base libopenmax
|
||||||
|
|
||||||
# adjust library paths to where buildroot installs them
|
# adjust library paths to where buildroot installs them
|
||||||
|
Loading…
Reference in New Issue
Block a user