mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
scripts/poky-autobuild: Correctly update the extra meta-darwin checkout
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4397 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -30,6 +30,13 @@ elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then
|
|||||||
ABTARGET="incremental"
|
ABTARGET="incremental"
|
||||||
elif [ "$CURRDIR" = "/srv/poky/autobuild/full-darwin-shihtzu/build" ]; then
|
elif [ "$CURRDIR" = "/srv/poky/autobuild/full-darwin-shihtzu/build" ]; then
|
||||||
ABTARGET="darwin"
|
ABTARGET="darwin"
|
||||||
|
if [ ! -d "$CURRDIR/meta-darwin" ]; then
|
||||||
|
svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin
|
||||||
|
else
|
||||||
|
cd $CURRDIR/meta-darwin
|
||||||
|
svn up
|
||||||
|
cd $CURRDIR
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "xpreamble" = "x$1" ]; then
|
if [ "xpreamble" = "x$1" ]; then
|
||||||
@@ -64,12 +71,6 @@ if [ ! -e "$CONFFILE" ]; then
|
|||||||
echo 'PARALLEL_MAKE = "-j 6"' >> "$CONFFILE"
|
echo 'PARALLEL_MAKE = "-j 6"' >> "$CONFFILE"
|
||||||
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
|
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
|
||||||
if [ "$ABTARGET" = "darwin" ]; then
|
if [ "$ABTARGET" = "darwin" ]; then
|
||||||
if [ ! -d "$CURRDIR/meta-darwin" ]; then
|
|
||||||
svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin
|
|
||||||
else
|
|
||||||
cd $CURRDIR/meta-darwin
|
|
||||||
svn up
|
|
||||||
fi
|
|
||||||
echo 'PACKAGE_CLASSES += "package_tar"' >> "$CONFFILE"
|
echo 'PACKAGE_CLASSES += "package_tar"' >> "$CONFFILE"
|
||||||
echo "BBFILES += \"$CURRDIR/meta-darwin/packages/*/*.bb\"" >> "./conf/local.conf"
|
echo "BBFILES += \"$CURRDIR/meta-darwin/packages/*/*.bb\"" >> "./conf/local.conf"
|
||||||
echo 'POKYMODE = "darwin"' >> "$CONFFILE"
|
echo 'POKYMODE = "darwin"' >> "$CONFFILE"
|
||||||
|
|||||||
Reference in New Issue
Block a user