]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gcc-cross: Clean up fixed-includes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Aug 2019 15:50:35 +0000 (16:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Sep 2019 21:33:07 +0000 (22:33 +0100)
commit77a8ddd87c20a1736d9777f94f42f349b8a7d7ff
treef1cbf8a99cfb365ebbf7a07d00ea5f7469af1209
parent963faf7a7f7260775c31b4d6265d840d910d1f3e
gcc-cross: Clean up fixed-includes

We had interesting failures where building gcc-cross-powerpc with 5.0 kernel
headers, then building eudev after moving to 5.2 headers failed.

gcc-cross doesn't rebuild when linux-libc-headers changes due to its
listing in SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS. This shouldn't matter but
fixincludes as adding asm-generic/socket.h to its filtered list which
was then replacing the real header with an older version. This mismatch
lead to build failures.

We trust the Linux kernel headers to be ANSI safe so lets just clear out
any headers and trust the originals to be correct.

(From OE-Core rev: f0fcaa88b7b2977c2cb35b060747442ee9ff3dcd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-cross.inc