]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gcc: remove paths to sysroot from configargs.h and checksum-options for gcc-cross...
authorOleksandr Hnatiuk <ohnatiuk@cisco.com>
Mon, 22 Jul 2024 05:34:58 +0000 (01:34 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Aug 2024 06:55:32 +0000 (07:55 +0100)
commit350ff7d53f7506de2bc01f0efc569b8294b9afea
tree455003bf1e24c72192f7c1a00e412d56f2b1754d
parent53fb871f84c99a66485979da2588c1d11d8749e7
gcc: remove paths to sysroot from configargs.h and checksum-options for gcc-cross-canadian

Apply fixes from gcc-cross (84a78f46d594 and 0ead8cbdfb96) to gcc-cross-canadian.
This will improve (but not fix) reproducibility of gcc-cross-canadian.
Also move this code to functions to avoid code duplication.

[RP: Tweak patch to make the function parameters clear and fix quoting issues
ensuring the code exactly matches the original replacements with an additional
parameter.]

Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-common.inc
meta/recipes-devtools/gcc/gcc-configure-common.inc
meta/recipes-devtools/gcc/gcc-cross-canadian.inc
meta/recipes-devtools/gcc/gcc-cross.inc
meta/recipes-devtools/gcc/gcc-target.inc