projects
/
meta-tx09.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa51ad3
)
setup-environment: Indicate Yocto environment in shell prompt.
author
Florian Boor
<florian@kernelconcepts.de>
Mon, 13 Aug 2018 19:13:43 +0000
(21:13 +0200)
committer
Florian Boor
<florian@kernelconcepts.de>
Mon, 13 Aug 2018 19:13:43 +0000
(21:13 +0200)
setup-environment
patch
|
blob
|
history
diff --git
a/setup-environment
b/setup-environment
index
4efec1c
..
8ad586c
100755
(executable)
--- a/
setup-environment
+++ b/
setup-environment
@@
-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