From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 14 Feb 2018 22:02:37 +0100 Subject: [Buildroot] [PATCH 1/2] musl: add more kernel headers guards In-Reply-To: <00926ed70cd14972bac0ce653b1f383b4a31492c.1518524870.git.baruch@tkos.co.il> References: <00926ed70cd14972bac0ce653b1f383b4a31492c.1518524870.git.baruch@tkos.co.il> Message-ID: <20180214220237.379a45a5@windsurf.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > Signed-off-by: Baruch Siach > --- > ...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