diff options
author | Richard Purdie <richard@openedhand.com> | 2008-05-01 09:49:43 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-05-01 09:49:43 +0000 |
commit | d9bb8113c53339f9b30a357f21e2eb269957e56e (patch) | |
tree | 38331f1faa04e60cadc0dc36149ce5a31961c926 /scripts/poky-autobuild | |
parent | 732e3cab7a9f6d18d59adba0e5dc17720b6f7e19 (diff) | |
download | openembedded-core-d9bb8113c53339f9b30a357f21e2eb269957e56e.tar.gz openembedded-core-d9bb8113c53339f9b30a357f21e2eb269957e56e.tar.bz2 openembedded-core-d9bb8113c53339f9b30a357f21e2eb269957e56e.tar.xz openembedded-core-d9bb8113c53339f9b30a357f21e2eb269957e56e.zip |
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
Diffstat (limited to 'scripts/poky-autobuild')
-rwxr-xr-x | scripts/poky-autobuild | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index 48c7df840..058579050 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild @@ -28,6 +28,8 @@ elif [ "$CURRDIR" = "/srv/poky/autobuild/toolchain-shihtzu/build" ]; then ABTARGET="toolchain" elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then ABTARGET="incremental" +elif [ "$CURRDIR" = "/srv/poky/autobuild/full-darwin-shihtzu/build" ]; then + ABTARGET="darwin" fi if [ "xpreamble" = "x$1" ]; then @@ -61,6 +63,24 @@ if [ ! -e "$CONFFILE" ]; then echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE" echo 'PARALLEL_MAKE = "-j 6"' >> "$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 bitbake $@ |