gst-fsl-plugins: fix compile for sysroot based on newer linux kernel headers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 1 patch 0 repliesNew
Patches in v1 No applies recorded yet
The patch the cover letter announces is not in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [RFC/PATCH 0/1] gst-fsl-plugins: fix compile for sysroot based on newer linux kernel headers
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Seiderer <[email protected]> writes:
The freescale specific
gst-fsl-plugins-3.0.1/src/misc/v4l_source/src/mfw_gst_v4lsrc.ccompile depends on theVIDIOC_DBG_G_CHIP_IDENTioctl (which was removed from linux kernel in version 3.11). This breaks compile with toolchains based on actual linux kernel headers (e.g. buildroot/glibc toolchain).Which is the right way to fix this problem?
Quoted 8 lines
- fix include precedence from sysroot to custom linux kernel headers as done in the following patch (latest freescale custom kernel is 3.10 based)
- add comment/hint in package description about this dependency
- and/or add dependency (or check) for sysroot linux kernel headers version <= 3.10.x (any hint how to do this?)
How about just patching mfw_gst_v4lsrc.c to use a local definition for VIDIOC_DBG_G_CHIP_IDENT if the kernel headers don't provide it (E.G. in a #ifndef VIDIOC_DBG_G_CHIP_IDENT conditional)?
Signature · 1 line
Bye, Peter Korsgaard