gstreamer-plugins-bad build error in dunfell for SABRESD platform
I get build errors when building plain yocto Dunfell for the iMX6 SABRESD plattform (not mainline)
The setup was (under Ubuntu 16.04):
$ repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dunfell
$ MACHINE=imx6qdlsabresd DISTRO=fsl-wayland source setup-environment build-fsl-wayland
$ bitbake fsl-image-machine-test
The error is in gstreamer1.0-plugins-bad_1.16.imx:
a2e124a@@gstwaylandsink@sha/wlvideoformat.c.o' -c ../git/ext/wayland/wlvideoformat.c
| In file included from ../git/ext/wayland/wlvideoformat.c:30:
| ../git/ext/wayland/wlvideoformat.h:29:10: fatal error: drm_fourcc.h: No such file or directory
| 29 | #include <drm_fourcc.h>
The correct include path for this file would be <libdrm/drm_fourcc.h> so if I change all those includes it works.
But also all "#include <drm.h>" inside the recipe-sysroot folder have to be replaced with "#include <libdrm/drm.h>".
The strange thing is, that the gstreamer1.0-plugins-base does have that extended include path (also in the recipe-sysroot folder)
Any idea on how to fix this? I know I could write a patch for the sources itself, but how to handle the recipe-sysroot folder stuff?
Software Engineer ARM