]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gcc: remove paths to sysroot from configargs.h and checksum-options for gcc-cross...
authorOleksandr Hnatiuk <ohnatiuk@cisco.com>
Fri, 14 Mar 2025 09:27:54 +0000 (14:57 +0530)
committerSteve Sakoman <steve@sakoman.com>
Fri, 14 Mar 2025 14:18:16 +0000 (07:18 -0700)
commitb1aa13b9f656666458189d4dae0c25564abe2f25
treea1fe53efa796252c787383e073747fee52983e67
parenta3db638932e76ac0972d7905072cc7ab3f2abb75
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.]

(From OE-Core rev: 350ff7d53f7506de2bc01f0efc569b8294b9afea)

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>
(cherry picked from commit f1ad5be4337c5d45c0f1bed48184336e9ab1fad8)
Signed-off-by: Sana Kazi <sanakazi720@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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