summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-09-07 13:42:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-09 14:27:41 +0100
commit16d0df58d1c1e5798f71e402a862a9f782577e60 (patch)
treec83ca921a8df6d0eb3bdd2feb0722a5a1fd9b5dd /meta/classes/populate_sdk_ext.bbclass
parent45871802afa45885b6d5e0af5c006243299b0c7d (diff)
downloadpoky-16d0df58d1c1e5798f71e402a862a9f782577e60.tar.gz
classes/populate_sdk_ext: avoid poky-specific buildtools naming
Only poky sets SDK_NAME to include ${IMAGE_BASENAME} (i.e. ${PN}), so we can't assume the buildtools filename will include it here. Change it to look for a file with "buildtools-nativesdk-standalone" in the name (the buildtools-tarball recipe itself sets TOOLCHAIN_OUTPUTNAME to include this.) (From OE-Core rev: 78ea4fcdea468888c0faef22a95dea7015a91df2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index a36bf16c78..8509f0c25b 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -189,7 +189,7 @@ SDK_PRE_INSTALL_COMMAND_task-populate-sdk-ext = "${sdk_ext_preinst}"
189sdk_ext_postinst() { 189sdk_ext_postinst() {
190 printf "\nExtracting buildtools...\n" 190 printf "\nExtracting buildtools...\n"
191 cd $target_sdk_dir 191 cd $target_sdk_dir
192 printf "buildtools\ny" | ./*buildtools-tarball* > /dev/null 192 printf "buildtools\ny" | ./*buildtools-nativesdk-standalone* > /dev/null
193 193
194 # Make sure when the user sets up the environment, they also get 194 # Make sure when the user sets up the environment, they also get
195 # the buildtools-tarball tools in their path. 195 # the buildtools-tarball tools in their path.