musl: add more kernel headers guards
authorBaruch Siach <baruch@tkos.co.il>
Tue, 13 Feb 2018 12:27:49 +0000 (14:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 14 Feb 2018 21:02:25 +0000 (22:02 +0100)
commitb99ca5ce3243cf06c45917bd07872aaf00d25e0a
treee97288b9146b14f3b5adecf34232be7d2dc04bf5
parent9b22578afec87d64a289d0bc014aa41583858407
musl: add more kernel headers guards

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@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/musl/0002-add-additional-uapi-guards-for-Linux-kernel-header-f.patch [new file with mode: 0644]