mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
scripts: Add meta-darwin build to the autobuilder
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4380 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -28,6 +28,8 @@ elif [ "$CURRDIR" = "/srv/poky/autobuild/toolchain-shihtzu/build" ]; then
|
|||||||
ABTARGET="toolchain"
|
ABTARGET="toolchain"
|
||||||
elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then
|
elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then
|
||||||
ABTARGET="incremental"
|
ABTARGET="incremental"
|
||||||
|
elif [ "$CURRDIR" = "/srv/poky/autobuild/full-darwin-shihtzu/build" ]; then
|
||||||
|
ABTARGET="darwin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "xpreamble" = "x$1" ]; then
|
if [ "xpreamble" = "x$1" ]; then
|
||||||
@@ -61,6 +63,24 @@ if [ ! -e "$CONFFILE" ]; then
|
|||||||
echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE"
|
echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE"
|
||||||
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 [ ! -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 "BBFILES += \"$CURRDIR/meta-darwin/packages/*/*.bb\"" > "$CONFFILE"
|
||||||
|
echo 'POKYMODE = "darwin"' > "$CONFFILE"
|
||||||
|
echo 'DARWINFILES = "file:///srv/poky/sources/"' > "$CONFFILE"
|
||||||
|
echo 'INHERIT_INSANE = ""' > "$CONFFILE"
|
||||||
|
echo 'FILESPATH_append = ":$CURRDIR/meta-darwin/files"' > "$CONFFILE"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$ABTARGET" = "darwin" ]; then
|
||||||
|
BBPATH=$CURRDIR/meta-darwin:$BBPATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bitbake $@
|
bitbake $@
|
||||||
|
|||||||
@@ -101,6 +101,16 @@ runImage(f6, 'qemux86', 'meta-toolchain-sdk')
|
|||||||
runImage(f6, 'qemuarm', 'world -c checkuriall')
|
runImage(f6, 'qemuarm', 'world -c checkuriall')
|
||||||
runComplete(f6)
|
runComplete(f6)
|
||||||
|
|
||||||
|
from buildbot.process import step, factory
|
||||||
|
f7 = factory.BuildFactory()
|
||||||
|
f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
|
||||||
|
runPreamble(f7)
|
||||||
|
defaultenv['DISTRO'] = 'poky'
|
||||||
|
defaultenv['POKYLIBC'] = 'dummy'
|
||||||
|
runImage(f7, 'ipodtouch', 'meta-clutter')
|
||||||
|
defaultenv['POKYLIBC'] = 'glibc'
|
||||||
|
runComplete(f7)
|
||||||
|
|
||||||
#from buildbot.process import step, factory
|
#from buildbot.process import step, factory
|
||||||
#f7 = factory.BuildFactory()
|
#f7 = factory.BuildFactory()
|
||||||
#f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000)
|
#f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000)
|
||||||
@@ -134,11 +144,17 @@ b6 = {'name': "poky-toolchain-shihtzu",
|
|||||||
'factory': f6
|
'factory': f6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b7 = {'name': "poky-full-darwin-shihtzu",
|
||||||
|
'slavename': "shihtzu-autobuild",
|
||||||
|
'builddir': "full-darwin-shihtzu",
|
||||||
|
'factory': f7
|
||||||
|
}
|
||||||
|
|
||||||
#b7 = {'name': "poky-incremental-world-shihtzu",
|
#b7 = {'name': "poky-incremental-world-shihtzu",
|
||||||
# 'slavename': "shihtzu-autobuild",
|
# 'slavename': "shihtzu-autobuild",
|
||||||
# 'builddir': "incremental-world-shihtzu",
|
# 'builddir': "incremental-world-shihtzu",
|
||||||
# 'factory': f7
|
# 'factory': f7
|
||||||
# }
|
# }
|
||||||
|
|
||||||
poky_builders = [b3, b4, b5, b6]
|
poky_builders = [b3, b4, b5, b6, b7]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user