]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Clean up unnecessary variable confusion
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Jan 2017 00:04:53 +0000 (00:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2017 10:41:09 +0000 (10:41 +0000)
commit5599cb72d17bce2ba6e2be16ef64d9a388bcfb25
tree2c7d83fa410ee6772473e9c575893488fbf9ce14
parent626064c69b6fd1b5cead6995097f99e5fbda3f19
gcc: Clean up unnecessary variable confusion

SDKPKGSUFFIX could only really be "nativesdk" and TARGET_SYS never contains
that so the code manipulating TARGET_SYS is pointless. I suspect this once
worked against MULTIMACH_TARGET_SYS which would be a different question but
it no longer does. Its been cut and pasted everywhere.

This patch cleans up the variable references to make things a little more
readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-runtime.inc
meta/recipes-devtools/gcc/gcc-sanitizers.inc
meta/recipes-devtools/gcc/libgcc-common.inc
meta/recipes-devtools/gcc/libgfortran.inc