diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2015-11-20 14:06:54 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:00 +0000 |
commit | 74c7cd53ea74fad06f0adca32c05c1c8804f2e25 (patch) | |
tree | a2c0c101e7d8b02af0ebf47648690ac67496bedd /meta | |
parent | 5ba638210cbc69a67dd2485375452b7f0df64217 (diff) | |
download | poky-74c7cd53ea74fad06f0adca32c05c1c8804f2e25.tar.gz |
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 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 () { | |||
187 | } | 187 | } |
188 | 188 | ||
189 | def extsdk_get_buildtools_filename(d): | 189 | def extsdk_get_buildtools_filename(d): |
190 | # This is somewhat of a hack | 190 | return '*-buildtools-nativesdk-standalone-*.sh' |
191 | localdata = bb.data.createCopy(d) | ||
192 | localdata.setVar('PN', 'buildtools-tarball') | ||
193 | return localdata.expand('${SDK_NAME}-buildtools-nativesdk-standalone-*.sh') | ||
194 | 191 | ||
195 | install_tools() { | 192 | install_tools() { |
196 | install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk} | 193 | install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk} |