Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
From 1ca05ebb7cb63607d14983948105dd1483ea6b65 Mon Sep 17 00:00:00 2001
|
||||
From: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
Date: Tue, 9 Aug 2016 10:26:15 +0200
|
||||
Subject: [PATCH] v4l2src: Add V4L2_PIX_FMT_XRGB555X check
|
||||
|
||||
Since this format was added in kernel 3.18, any prior version will
|
||||
fail to compile.
|
||||
|
||||
Issue reported by Buildroot autobuilder with 3.10 kernel headers:
|
||||
http://autobuild.buildroot.net/results/b46/b460a770c8f4e992d29dde8fe37fc23a949937f2/
|
||||
|
||||
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
||||
---
|
||||
src/v4l2src/v4l2src.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/v4l2src/v4l2src.c b/src/v4l2src/v4l2src.c
|
||||
index c77ae49..12b392a 100644
|
||||
--- a/src/v4l2src/v4l2src.c
|
||||
+++ b/src/v4l2src/v4l2src.c
|
||||
@@ -447,7 +447,9 @@ static GstCaps *gst_imx_v4l2src_caps_for_current_setup(GstImxV4l2VideoSrc *v4l2s
|
||||
case V4L2_PIX_FMT_RGB555:
|
||||
gst_fmt = GST_VIDEO_FORMAT_RGB15;
|
||||
break;
|
||||
+#ifdef V4L2_PIX_FMT_XRGB555X
|
||||
case V4L2_PIX_FMT_XRGB555X:
|
||||
+#endif
|
||||
case V4L2_PIX_FMT_RGB555X:
|
||||
gst_fmt = GST_VIDEO_FORMAT_BGR15;
|
||||
break;
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
config BR2_PACKAGE_GST1_IMX
|
||||
comment "gst1-imx needs a toolchain w/ dynamic library"
|
||||
depends on BR2_arm
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
menuconfig BR2_PACKAGE_GST1_IMX
|
||||
bool "gst1-imx"
|
||||
depends on BR2_arm # Only relevant for i.MX
|
||||
depends on !BR2_STATIC_LIBS
|
||||
@@ -7,18 +11,77 @@ config BR2_PACKAGE_GST1_IMX
|
||||
This is a set of GStreamer 1.0 plugins for plugins for Freescale's
|
||||
i.MX platforms, which make use of the i.MX multimedia capabilities.
|
||||
|
||||
This software supports only the i.MX6 SoC family.
|
||||
|
||||
The IPU and PXP plugins are built when an imx-specific kernel is
|
||||
enabled.
|
||||
The V4L2 plugin is built when BR2_PACKAGE_GST1_PLUGINS_BAD is enabled.
|
||||
The VPU plugin is built when BR2_PACKAGE_LIBIMXVPUAPI is enabled.
|
||||
The EGL plugin is built when BR2_PACKAGE_IMX_GPU_VIV is enabled.
|
||||
The G2D plugin is built when BR2_PACKAGE_IMX_GPU_VIV_G2D is enabled.
|
||||
The MP3 plugin is built when BR2_PACKAGE_IMX_CODEC is enabled.
|
||||
|
||||
https://github.com/Freescale/gstreamer-imx
|
||||
|
||||
comment "gst1-imx needs a toolchain w/ dynamic library"
|
||||
depends on BR2_arm
|
||||
depends on BR2_STATIC_LIBS
|
||||
if BR2_PACKAGE_GST1_IMX
|
||||
|
||||
config BR2_PACKAGE_GST1_IMX_EGLVISINK
|
||||
bool "imxeglvivsink"
|
||||
depends on BR2_PACKAGE_IMX_GPU_VIV
|
||||
help
|
||||
Elements leveraging the 3D GPU
|
||||
|
||||
comment "imxeglvivsink needs the Vivante 3D libraries"
|
||||
depends on !BR2_PACKAGE_IMX_GPU_VIV
|
||||
|
||||
config BR2_PACKAGE_GST1_IMX_G2D
|
||||
bool "imxg2d"
|
||||
depends on BR2_PACKAGE_IMX_GPU_VIV_G2D
|
||||
help
|
||||
Elements leveraging the 2D GPU
|
||||
|
||||
comment "imxg2d needs the Vivante 2D libraries"
|
||||
depends on !BR2_PACKAGE_IMX_GPU_VIV_G2D
|
||||
|
||||
config BR2_PACKAGE_GST1_IMX_IPU
|
||||
bool "imxipu"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
Elements leveraging the IPU
|
||||
|
||||
comment "imxipu needs an imx-specific Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
config BR2_PACKAGE_GST1_IMX_MP3ENCODER
|
||||
bool "mp3encoder"
|
||||
depends on BR2_PACKAGE_IMX_CODEC
|
||||
help
|
||||
Elements for MP3 encoding
|
||||
|
||||
comment "mp3encoder needs the i.MX codec binaries"
|
||||
depends on !BR2_PACKAGE_IMX_CODEC
|
||||
|
||||
config BR2_PACKAGE_GST1_IMX_PXP
|
||||
bool "imxpxp"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
Elements leveraging the PXP
|
||||
|
||||
comment "imxpxp needs an imx-specific Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
config BR2_PACKAGE_GST1_IMX_UNIAUDIODEC
|
||||
bool "uniaudiodec"
|
||||
depends on BR2_PACKAGE_IMX_CODEC
|
||||
help
|
||||
Elements for audio decoding
|
||||
|
||||
comment "uniaudiodec needs the i.MX codec binaries"
|
||||
depends on !BR2_PACKAGE_IMX_CODEC
|
||||
|
||||
config BR2_PACKAGE_GST1_IMX_VPU
|
||||
bool "imxvpu"
|
||||
depends on BR2_PACKAGE_LIBIMXVPUAPI
|
||||
help
|
||||
Elements leveraging the VPU
|
||||
|
||||
comment "imxvpu needs the VPU imxvpuapi library"
|
||||
depends on !BR2_PACKAGE_LIBIMXVPUAPI
|
||||
|
||||
config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC
|
||||
bool "imxv4l2videosrc"
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BAD
|
||||
help
|
||||
Elements for V4L2 capture
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# locally computed hash
|
||||
sha256 a75f8bc3219fa3c62637f443cef0196c9eafb90aaa5af094847d007124895822 gst1-imx-0.12.2.tar.gz
|
||||
sha256 999c093e38768e51d14abbe7836c09b666bcb89f03f34dd3697a6e5b5e4a4086 gst1-imx-0.12.3.tar.gz
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_IMX_VERSION = 0.12.2
|
||||
GST1_IMX_VERSION = 0.12.3
|
||||
GST1_IMX_SITE = $(call github,Freescale,gstreamer-imx,$(GST1_IMX_VERSION))
|
||||
|
||||
GST1_IMX_LICENSE = LGPLv2+
|
||||
@@ -14,7 +14,6 @@ GST1_IMX_INSTALL_STAGING = YES
|
||||
|
||||
GST1_IMX_DEPENDENCIES += \
|
||||
host-pkgconf \
|
||||
host-python \
|
||||
gstreamer1 \
|
||||
gst1-plugins-base
|
||||
|
||||
@@ -26,20 +25,16 @@ GST1_IMX_DEPENDENCIES += linux
|
||||
GST1_IMX_CONF_OPTS += --kernel-headers="$(LINUX_DIR)/include"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD),y)
|
||||
GST1_IMX_DEPENDENCIES += gst1-plugins-bad
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMX_CODEC),y)
|
||||
GST1_IMX_DEPENDENCIES += imx-codec
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBIMXVPUAPI),y)
|
||||
GST1_IMX_DEPENDENCIES += libimxvpuapi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV),y)
|
||||
GST1_IMX_DEPENDENCIES += imx-gpu-viv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_IMX_EGLVISINK),y)
|
||||
# There's no --enable-eglvivsink option
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||
GST1_IMX_DEPENDENCIES += xlib_libX11
|
||||
GST1_IMX_CONF_OPTS += --egl-platform=x11
|
||||
@@ -51,23 +46,47 @@ else
|
||||
GST1_IMX_CONF_OPTS += --egl-platform=fb
|
||||
endif
|
||||
endif
|
||||
else
|
||||
GST1_IMX_CONF_OPTS += --disable-eglvivsink
|
||||
endif
|
||||
|
||||
define GST1_IMX_CONFIGURE_CMDS
|
||||
cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(HOST_DIR)/usr/bin/python2 ./waf configure $(GST1_IMX_CONF_OPTS)
|
||||
endef
|
||||
# There's no --enable-g2d option
|
||||
ifeq ($(BR2_PACKAGE_GST1_IMX_G2D),)
|
||||
GST1_IMX_CONF_OPTS += --disable-g2d
|
||||
endif
|
||||
|
||||
define GST1_IMX_BUILD_CMDS
|
||||
cd $(@D); \
|
||||
$(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS)
|
||||
endef
|
||||
# There's no --enable-ipu option
|
||||
ifeq ($(BR2_PACKAGE_GST1_IMX_IPU),)
|
||||
GST1_IMX_CONF_OPTS += --disable-ipu
|
||||
endif
|
||||
|
||||
define GST1_IMX_INSTALL_TARGET_CMDS
|
||||
cd $(@D); \
|
||||
$(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
|
||||
install
|
||||
endef
|
||||
# There's no --enable-mp3encoder option
|
||||
ifeq ($(BR2_PACKAGE_GST1_IMX_MP3ENCODER),)
|
||||
GST1_IMX_CONF_OPTS += --disable-mp3encoder
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
# There's no --enable-pxp option
|
||||
ifeq ($(BR2_PACKAGE_GST1_IMX_PXP),)
|
||||
GST1_IMX_CONF_OPTS += --disable-pxp
|
||||
endif
|
||||
|
||||
# There's no --enable-uniaudiodec option
|
||||
ifeq ($(BR2_PACKAGE_GST1_IMX_UNIAUDIODEC),)
|
||||
GST1_IMX_CONF_OPTS += --disable-uniaudiodec
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_IMX_VPU),y)
|
||||
# There's no --enable-vpu option
|
||||
GST1_IMX_DEPENDENCIES += libimxvpuapi
|
||||
else
|
||||
GST1_IMX_CONF_OPTS += --disable-vpu
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC),y)
|
||||
# There's no --enable-v4l2src option
|
||||
GST1_IMX_DEPENDENCIES += gst1-plugins-bad
|
||||
else
|
||||
GST1_IMX_CONF_OPTS += --disable-v4l2src
|
||||
endif
|
||||
|
||||
$(eval $(waf-package))
|
||||
|
||||
Reference in New Issue
Block a user