From: Peter Korsgaard Date: Fri, 10 Mar 2017 10:59:52 +0100 Subject: [Buildroot] [PATCH] kmscube: Move to the new repository In-Reply-To: (Gary Bisson's message of "Fri, 10 Mar 2017 10:47:34 +0100") References: <1488803273-25019-1-git-send-email-festevam@gmail.com> <20170306212225.0819a97b@free-electrons.com> <20170306213121.203079d8@free-electrons.com> <878toeaz13.fsf@dell.be.48ers.dk> Message-ID: <87varha1uv.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Gary" == Gary Bisson 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