projects
/
scm
/
bb
/
tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a63eb5c
)
yoctors: added ystatus()
author
Stephane Desneux
<stephane.desneux@eurogiciel.fr>
Mon, 8 Apr 2013 07:52:11 +0000
(09:52 +0200)
committer
Stephane Desneux
<stephane.desneux@eurogiciel.fr>
Mon, 8 Apr 2013 07:52:11 +0000
(09:52 +0200)
yoctorc
patch
|
blob
|
history
diff --git
a/yoctorc
b/yoctorc
index
58e9ffa
..
da30013
100644
(file)
--- a/
yoctorc
+++ b/
yoctorc
@@
-44,6
+44,20
@@
function ycheck() {
return 0
}
+function ystatus() {
+ if [[ -z "$YOCTO_BUILDDIR" ]]; then
+ echo "yinit not called" >&2
+ return 1
+ fi
+
+ echo "YOCTODIR=$YOCTODIR"
+ echo "OEDIR=$OEDIR"
+ echo "YOCTO_BUILDDIR=$YOCTO_BUILDDIR"
+ echo "YOCTO_LAST_PKG=$YOCTO_LAST_PKG"
+
+ return 0
+}
+
function ycd () {
ycheck || return 1