From: Paul Eggleton Date: Mon, 7 Sep 2015 12:42:20 +0000 (+0100) Subject: classes/populate_sdk_ext: avoid poky-specific buildtools naming X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29045 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78ea4fcdea468888c0faef22a95dea7015a91df2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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.) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index a36bf16c783..8509f0c25b5 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}" sdk_ext_postinst() { printf "\nExtracting buildtools...\n" cd $target_sdk_dir - printf "buildtools\ny" | ./*buildtools-tarball* > /dev/null + printf "buildtools\ny" | ./*buildtools-nativesdk-standalone* > /dev/null # Make sure when the user sets up the environment, they also get # the buildtools-tarball tools in their path.