blob: 85476b1c3e0111df55a36ee5e045682df571e303 [file] [log] [blame]
comment "gst-fsl-plugins needs an imx-specific Linux kernel to be built"
depends on BR2_arm && !BR2_LINUX_KERNEL
comment "gst-fsl-plugins needs a glibc toolchain"
depends on BR2_arm
depends on !BR2_TOOLCHAIN_USES_GLIBC
config BR2_PACKAGE_GST_FSL_PLUGINS
bool "gst-fsl-plugins"
depends on BR2_LINUX_KERNEL
depends on BR2_arm # Only relevant for i.MX
depends on BR2_TOOLCHAIN_USES_GLIBC # imx-codec
select BR2_PACKAGE_GST_PLUGINS_BASE
select BR2_PACKAGE_IMX_VPUWRAP if BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
select BR2_PACKAGE_IMX_LIB
select BR2_PACKAGE_IMX_PARSER
select BR2_PACKAGE_IMX_CODEC
select BR2_PACKAGE_FREESCALE_IMX
help
GStreamer plugins for hardware-accelerated audio and video
parsers and codecs on i.MX platforms. It requires a kernel that
includes the i.MX specific headers to be built.
To use the VPU, its firmware blob must be installed as well. This
can be found in the firmware-imx package in the "Hardware handling"
menu.
This library is provided by Freescale as-is and doesn't have
an upstream. Pengutronix maintains gst-fsl-plugins at
git://git.pengutronix.de/git/imx/gst-plugins-fsl-vpu.git
but it diverges heavily from Freescale's original implementation.
if BR2_PACKAGE_GST_FSL_PLUGINS
choice
prompt "i.MX platform"
default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX25 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX27 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX37 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK
default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX50 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50
default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX51 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX53 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX6 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX233
bool "imx233"
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX25
bool "imx25"
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX25_3STACK
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX27
bool "imx27"
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX27ADS
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX28
bool "imx28"
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX31
bool "imx31"
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX35
bool "imx35"
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX37
bool "imx37"
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX37_3STACK
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX50
bool "imx50"
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX50
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX51
bool "imx51"
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX51
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX53
bool "imx53"
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX53
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX5X
bool "imx5X"
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX5X
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX6
bool "imx6"
select BR2_PACKAGE_IMX_LIB_PLATFORM_IMX6Q
endchoice
config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM
string
default "MX233" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX233
default "MX25" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX25
default "MX27" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX27
default "MX28" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX28
default "MX31" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX31
default "MX35" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX35
default "MX37" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX37
default "MX50" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX50
default "MX51" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX51
default "MX53" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX53
default "MX5X" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX5X
default "MX6" if BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX6
endif