mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
5ba638210c
commit
74c7cd53ea
@@ -187,10 +187,7 @@ python copy_buildsystem () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def extsdk_get_buildtools_filename(d):
|
def extsdk_get_buildtools_filename(d):
|
||||||
# This is somewhat of a hack
|
return '*-buildtools-nativesdk-standalone-*.sh'
|
||||||
localdata = bb.data.createCopy(d)
|
|
||||||
localdata.setVar('PN', 'buildtools-tarball')
|
|
||||||
return localdata.expand('${SDK_NAME}-buildtools-nativesdk-standalone-*.sh')
|
|
||||||
|
|
||||||
install_tools() {
|
install_tools() {
|
||||||
install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}
|
install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}
|
||||||
|
|||||||
Reference in New Issue
Block a user