[oe-commits] Paul Eggleton : classes/populate_sdk_ext: avoid poky-specific buildtools naming
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 7 16:02:08 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 78ea4fcdea468888c0faef22a95dea7015a91df2
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=78ea4fcdea468888c0faef22a95dea7015a91df2
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Mon Sep 7 13:42:20 2015 +0100
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 <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/populate_sdk_ext.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index a36bf16..8509f0c 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.
More information about the Openembedded-commits
mailing list