diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-29 10:35:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-30 09:29:07 +0100 |
commit | 67db7182faf6742b0d971d61d8c5ba34f69d2e12 (patch) | |
tree | 9af4927683dd124dbd106a8f95314e2e89c8912d /meta/recipes-devtools/gcc/gcc-shared-source.inc | |
parent | 15b39bfbb1a0263ac194a9833175b72ab7345ebd (diff) | |
download | openembedded-core-67db7182faf6742b0d971d61d8c5ba34f69d2e12.tar.gz openembedded-core-67db7182faf6742b0d971d61d8c5ba34f69d2e12.tar.bz2 openembedded-core-67db7182faf6742b0d971d61d8c5ba34f69d2e12.zip |
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>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-shared-source.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-shared-source.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc b/meta/recipes-devtools/gcc/gcc-shared-source.inc index cb5d9071b6..9acffb1da7 100644 --- a/meta/recipes-devtools/gcc/gcc-shared-source.inc +++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc @@ -5,5 +5,5 @@ do_fetch[noexec] = "1" deltask do_unpack deltask do_patch -do_configure[depends] += "gcc-source:do_preconfigure" -do_populate_lic[depends] += "gcc-source:do_unpack" +do_configure[depends] += "gcc-source-${PV}:do_preconfigure" +do_populate_lic[depends] += "gcc-source-${PV}:do_unpack" |