kumquat-buildroot/toolchain
Baruch Siach 6afee03e3c toolchain: limit musl/kernel headers conflict workaround
The musl/kernel headers workaround was added in commit 196932cd91
(toolchain: workaround musl/kernel headers conflict) to fix definition
collisions in networking related headers between musl headers and kernel
headers. Kernel headers from version 4.15 and newer do not need this
workaround anymore since kernel commit c0bace798436bc (uapi libc compat:
add fallback for unsupported libcs). The C library does not have to
define the __GLIBC__ macro to make the __UAPI_DEF_* macros effective.

Updated the comment to accordingly.

Tested with the xl2tp package. This package fails to build with older
kernel headers without the workaround (struct in_pktinfo redefinition,
among others). With 4.15 headers, xl2tp builds fine with this patch
applied. That is, no workaround needed.

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>
2018-02-14 22:02:29 +01:00
..
toolchain toolchain: limit musl/kernel headers conflict workaround 2018-02-14 22:02:29 +01:00
toolchain-buildroot musl: enable or1k architecture 2017-11-30 11:37:53 +01:00
toolchain-external toolchain: add 4.15.x choice for headers 2018-01-28 23:48:21 +01:00
Config.in arch/bfin: internal backend not suitable for some cores 2017-10-02 21:41:53 +02:00
helpers.mk toolchain: detect external glibc in merged /usr 2017-09-19 22:43:10 +02:00
toolchain-common.in toolchain: add 4.15.x choice for headers 2018-01-28 23:48:21 +01:00
toolchain-wrapper.c toolchain/wrapper: fake __DATE_ and __TIME__ for older gcc 2017-10-22 16:10:37 +02:00
toolchain-wrapper.mk Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
toolchain.mk toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS 2016-07-18 23:30:46 +02:00