diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-07-23 00:38:08 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:56:31 +0100 |
commit | f84b01b289ef281c70b83cb89f7b4c3fdfedf4fc (patch) | |
tree | b45cf1ff367926016085715994f95574d37c9a6e /meta/classes | |
parent | cb5d308c4883cc7d4a5457a9991ca0ed1e9c9e93 (diff) | |
download | poky-f84b01b289ef281c70b83cb89f7b4c3fdfedf4fc.tar.gz |
meta-extsdk-toolchain: add meta-recipe to install toolchain into eSDK
Add a meta-recipe to bring the toolchain into the extensible SDK. This
was modelled on meta-ide-support but some adjustments were needed to the
dependency validation function in sstate.bbclass to ensure that all of
the toolchain gets installed into the sysroot. With this, after
installing a minimal eSDK you only need to run the following after
sourcing the environment setup script to get the toolchain:
devtool sdk-install meta-extsdk-toolchain
Addresses [YOCTO #9257].
(From OE-Core rev: 8110806b1b5534ae830a4fdd1a5293c86a712d0b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sstate.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index d706d75581..249692896a 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -927,6 +927,9 @@ def setscene_depvalid(task, taskdependees, notneeded, d): | |||
927 | # Nothing need depend on libc-initial/gcc-cross-initial | 927 | # Nothing need depend on libc-initial/gcc-cross-initial |
928 | if "-initial" in taskdependees[task][0]: | 928 | if "-initial" in taskdependees[task][0]: |
929 | continue | 929 | continue |
930 | # For meta-extsdk-toolchain we want all sysroot dependencies | ||
931 | if taskdependees[dep][0] == 'meta-extsdk-toolchain': | ||
932 | return False | ||
930 | # Native/Cross populate_sysroot need their dependencies | 933 | # Native/Cross populate_sysroot need their dependencies |
931 | if isNativeCross(taskdependees[task][0]) and isNativeCross(taskdependees[dep][0]): | 934 | if isNativeCross(taskdependees[task][0]) and isNativeCross(taskdependees[dep][0]): |
932 | return False | 935 | return False |