setup-environment: Indicate Yocto environment in shell prompt.
authorFlorian Boor <florian@kernelconcepts.de>
Mon, 13 Aug 2018 19:13:43 +0000 (21:13 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Mon, 13 Aug 2018 19:13:43 +0000 (21:13 +0200)
setup-environment

index 4efec1c..8ad586c 100755 (executable)
@@ -46,7 +46,6 @@ directory <build-dir>. The build directory configuration is unchanged.
 "
 
     ls yocto/*/conf/machine/*.conf > /dev/null 2>&1
-#    ls sources/meta-freescale-distro/conf/distro/fslc-*.conf > /dev/null 2>&1
     if [ $? -eq 0 ]; then
         echo -e "
 Supported machines: `echo; ls conf/*/conf/machine/*.conf \
@@ -225,4 +224,7 @@ else
     echo
 fi
 
+# indicate Yocto environment on shell prompt
+export PS1="[yocto] $PS1"
+
 clean_up