meta-environment: Improve info messages
authorFlorian Boor <florian@kernelconcepts.de>
Mon, 13 Aug 2018 23:27:23 +0000 (01:27 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Mon, 13 Aug 2018 23:27:23 +0000 (01:27 +0200)
recipes-core/meta/meta-environment.bbappend

index cfb6ba0..1bafdcb 100644 (file)
@@ -7,7 +7,8 @@ fakeroot do_create_kc_sdk_file() {
        echo 'basename -- "$0$ZSH_VERSION" | grep -q "^environment-setup$" && echo "$SHELL" | grep -q "/\(\([bd]ash\)\|\([k]sh\)\)$" && ENV=$0 POSIXLY_CORRECT=1 exec $SHELL -i' >> $script
        echo 'basename -- "$0$ZSH_VERSION" | grep -q "^environment-setup$" && echo "Usage: . $0" && exit 1' >> $script
        echo 'echo "Applying environment settings..."' >> $script
-       echo 'echo "Version ${DISTRO_VERSION}-${DISTRO_BUILD}"' >> $script
+       echo 'echo "Version:       ${DISTRO_VERSION}"' >> $script
+       echo 'echo "Target prefix: ${TARGET_PREFIX}"' >> $script
        echo 'export PS1="[$ARCH] $PS1"' >> $script
 
        echo 'SDK_PATH=$OECORE_NATIVE_SYSROOT/usr' >> $script