]> code.ossystems Code Review - meta-freescale.git/commit
gst1.0-fsl-plugin: add STAGING_KERNEL_BUILDDIR to the include dirs list
authorJavier Viguera <javier.viguera@digi.com>
Thu, 25 Feb 2016 15:17:17 +0000 (16:17 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:26 +0000 (15:03 -0300)
commit53cd2feae844bf0d34481073cbdd15482cbbef05
tree772df4d7a2df9d72df75bdc67e4603b655ff2a34
parenta87697dfd9d1732c015a1281a4d044658e88ead4
gst1.0-fsl-plugin: add STAGING_KERNEL_BUILDDIR to the include dirs list

The new version of the gst1.0-fsl-plugin package uses the preprocessor
to do conditional compilation:

#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)

And to use those macros it includes 'linux/version.h' header file.

This is failing because it is including the 'linux/version.h' file from
the sysroot, which comes from the 'linux-libc-headers' recipe used to
build the toolchain, instead of the real kernel version we are building
and running later on.

Otherwise the build fails with:

error: 'VIDIOC_S_INPUT_CROP' undeclared

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.8.bb