[Buildroot] [PATCH v4] linux-headers: allow use of headers from kernel "package" selected
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jan 19 10:31:54 UTC 2016
Dear Peter Korsgaard,
On Tue, 19 Jan 2016 11:29:08 +0100, Peter Korsgaard wrote:
> Well, linux-headers doesn't need to do much - So with a bit of care I
> think you can.
>
> E.G. something like (completely untested):
>
> ifeq ($(LINUX_HEADERS_FROM_KERNEL),y)
> # no source
> LINUX_HEADERS_SOURCE =
> LINUX_HEADERS_DEPENDENCIES += linux-configure
The configure step of a package depends on the dependencies of that
package. So linux-configure depends on toolchain. And toolchain depends
on linux-headers -> recursive dependency.
Another try ? :-)
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list