]> code.ossystems Code Review - openembedded-core.git/commit
gcc-shared-source: Add PV to PN
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Apr 2015 09:35:00 +0000 (10:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Apr 2015 08:29:07 +0000 (09:29 +0100)
commit67db7182faf6742b0d971d61d8c5ba34f69d2e12
tree9af4927683dd124dbd106a8f95314e2e89c8912d
parent15b39bfbb1a0263ac194a9833175b72ab7345ebd
gcc-shared-source: Add PV to PN

This means you can have one gcc version for some gcc recipes
(e.g. crosssdk/nativesdk) and another gcc version for target code.

Also remove the preferred version entry from the default toolchains
list since the version issue is now handled automatically.

We also need to specifically handle gcc-source in the license handling
code since expanding ${PV} in the base class isn't possible. Since
gcc-source doesn't generate any packages directly this shouldn't be
an issue and whitelisting in this way is easiest (and matches the
rest of the toolchain handling).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/conf/distro/include/tcmode-default.inc
meta/recipes-devtools/gcc/gcc-shared-source.inc
meta/recipes-devtools/gcc/gcc-source.inc