[Buildroot] [PATCH 1/2] musl: add more kernel headers guards

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Feb 14 21:02:37 UTC 2018


Hello,

On Tue, 13 Feb 2018 14:27:49 +0200, Baruch Siach wrote:
> Kernel version 4.15 (not 4.16 as the musl commit log claims) allows
> disabling of more parts of the kernel headers definitions. Add upstream
> musl patch that defines the relevant macros. This solves issues of
> networking related symbols redefinition in kernel headers that cause
> headers conflicts. With that in place a subsequent commit will limit the
> musl/kernel headers conflict avoidance workaround in Buildroot to kernel
> headers older than 4.15. This workaround has been introduced in commit
> 196932cd91 (toolchain: workaround musl/kernel headers conflict).
> 
> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>  ...nal-uapi-guards-for-Linux-kernel-header-f.patch | 69 ++++++++++++++++++++++
>  1 file changed, 69 insertions(+)
>  create mode 100644 package/musl/0002-add-additional-uapi-guards-for-Linux-kernel-header-f.patch

Both applied to next. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list