[Buildroot] [PATCH] kmscube: Move to the new repository

Peter Korsgaard peter at korsgaard.com
Fri Mar 10 09:59:52 UTC 2017


>>>>> "Gary" == Gary Bisson <gary.bisson at boundarydevices.com> writes:

Hi,

>> The question is what happens if kmscube is run on a kernel that doesn't
 >> support DRM_MODE_OBJECT_PLANE (E.G. kernel < 4.7)?

 > I believe it would work since the declaration was in the kernel
 > already, just missing from the uapi header:
 > http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=8812f38141

Ahh, ok - Good. And looking at the state before that, the drm plane
stuff was added in 3.3 (8cf5c91771515).

 >> If it really needs
 >> support for this then we should simply make the package depend on >= 4.7
 >> headers, and if not we could add a patch to add the include.

 > Adding a dependency on headers >= 4.7 would definitely work and I
 > think it's the easiest/cleanest option here.

 > I'll just be sad not to be able to use the prebuilt (linaro) toolchain ;)

It is indeed a bit stupid to not allow the Linaro toolchain when the fix
is so easy. Have you tried to contact upstream about either adding the
drm include and/or local definitions for this define?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list