diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2015-11-20 14:06:54 -0600 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2015-12-27 23:03:15 -0800 |
commit | ed92440d19e5948aa64c95fcf30b989c5e6efdb9 (patch) | |
tree | 37f2b12426e8f4f1303c62c6cf6f5e45ae5d69b5 /meta | |
parent | 1042d020d5d1b6af3f32e5fe29562d1dce765f0a (diff) | |
download | openembedded-core-ed92440d19e5948aa64c95fcf30b989c5e6efdb9.tar.gz openembedded-core-ed92440d19e5948aa64c95fcf30b989c5e6efdb9.tar.bz2 openembedded-core-ed92440d19e5948aa64c95fcf30b989c5e6efdb9.zip |
populate_sdk_ext.bbclass: Be more permissive on the name of the buildtools
We want to support different names for the buildtools tarball. The
name may not always be of the default oe-core format.
For instance, at Wind River we define the built-tools name to be:
${SDK_ARCH}-buildtools-nativesdk-standalone-${DISTRO_VERSION}
because thes standard SDK_NAME has additional information that is not
relevant to the builtools tarball.
(From OE-Core master rev: b49c6f179b06a8b97106aa4c95f2cdb3c4dc0920)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index dc052612c7..8601c78410 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass @@ -187,10 +187,7 @@ python copy_buildsystem () { } def extsdk_get_buildtools_filename(d): - # This is somewhat of a hack - localdata = bb.data.createCopy(d) - localdata.setVar('PN', 'buildtools-tarball') - return localdata.expand('${SDK_NAME}-buildtools-nativesdk-standalone-*.sh') + return '*-buildtools-nativesdk-standalone-*.sh' install_tools() { install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk} |