diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2019-11-25 06:58:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-29 17:43:40 +0000 |
commit | decb74d362849ece8f93f40c1c36cbcbcd188927 (patch) | |
tree | e77eac9b29252217579e770474a156a68cbd1f79 /meta/classes/toolchain-scripts-base.bbclass | |
parent | 5507707f0d36a612992758dabd58d68a72ab0cfc (diff) | |
download | poky-decb74d362849ece8f93f40c1c36cbcbcd188927.tar.gz |
gcc-cross.inc: Prevent native sysroot from leaking into configargs.h
Prevent the native(sdk) sysroot path from leaking into configargs.h. The
configargs.h header is intended to be static and unchanged as the
content is used as a means of determining that a gcc plugin is built for
the same gcc. This also effects the output of 'gcc --version'. Due to
per recipe sysroots and staging, the sysroot path would be replaced with
the sysroot local to the recipe thus changing the content of
configargs.h.
The sysroot path is replaced with a generic "/host" prefix which
represents the host sysroot (e.g. native or nativesdk).
(From OE-Core rev: 84a78f46d59447eeec3d69532a7506148f64c979)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts-base.bbclass')
0 files changed, 0 insertions, 0 deletions