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:
763b046
)
yoctorc: updated
author
Stephane Desneux
<stephane.desneux@eurogiciel.fr>
Fri, 5 Apr 2013 17:29:02 +0000
(19:29 +0200)
committer
Stephane Desneux
<stephane.desneux@eurogiciel.fr>
Fri, 5 Apr 2013 17:29:02 +0000
(19:29 +0200)
yoctorc
patch
|
blob
|
history
diff --git
a/yoctorc
b/yoctorc
index
ac45579
..
c59e9b4
100644
(file)
--- a/
yoctorc
+++ b/
yoctorc
@@
-19,9
+19,16
@@
fi
function yinit () {
cd $OEDIR
- . ./oe-init-build-env $1 >/dev/null 2>&1
YOCTO_BUILDDIR=$OEDIR/${1:-build}
+ [[ ! -d $YOCTO_BUILDDIR ]] && init=yes
+ . ./oe-init-build-env $1 >/dev/null 2>&1
cd $YOCTO_BUILDDIR
+
+ if [[ x$init == xyes ]]; then
+ cp -v ../meta-tizen-ivi/conf/bblayers.conf.sample conf/bblayers.conf
+ cp -v ../meta-tizen-ivi/conf/local.conf.sample conf/local.conf
+ ${EDITOR} conf/local.conf
+ fi
}
function ycheck() {