]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/populate_sdk_ext: avoid poky-specific buildtools naming
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 7 Sep 2015 12:42:20 +0000 (13:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2015 15:10:59 +0000 (16:10 +0100)
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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass

index a36bf16c7833e5ba3d8697dfabc1af8407ccadb9..8509f0c25b50909a90be941e31e711956a7b0110 100644 (file)
@@ -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.