[Buildroot] [PATCH] toolchain: limit musl workaround to kernel headers 3.12+

Peter Korsgaard peter at korsgaard.com
Thu Jun 1 14:01:36 UTC 2017


>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:

 > The libc-compat.h first appeared in kernel version 3.12. Trying to build a
 > musl toolchain using earlier headers leads to the following failure:

 > /bin/sed: can't read .../output/host/usr/arm-buildroot-linux-musleabi/sysroot/usr/include/linux/libc-compat.h: No such file or directory
 > package/pkg-generic.mk:266: recipe for target '.../output/build/toolchain/.stamp_staging_installed' failed

 > Don't apply the sed patch to older headers.

 > Reported-by: Florent Jacquet <florent.jacquet at free-electrons.com>
 > Signed-off-by: Baruch Siach <baruch at tkos.co.il>

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list