summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-01 09:49:43 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-01 09:49:43 +0000
commitd9bb8113c53339f9b30a357f21e2eb269957e56e (patch)
tree38331f1faa04e60cadc0dc36149ce5a31961c926 /scripts
parent732e3cab7a9f6d18d59adba0e5dc17720b6f7e19 (diff)
downloadpoky-d9bb8113c53339f9b30a357f21e2eb269957e56e.tar.gz
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')
-rwxr-xr-xscripts/poky-autobuild20
-rw-r--r--scripts/pokyABConfig.py18
2 files changed, 37 insertions, 1 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild
index 48c7df8403..0585790506 100755
--- a/scripts/poky-autobuild
+++ b/scripts/poky-autobuild
@@ -28,6 +28,8 @@ elif [ "$CURRDIR" = "/srv/poky/autobuild/toolchain-shihtzu/build" ]; then
28 ABTARGET="toolchain" 28 ABTARGET="toolchain"
29elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then 29elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then
30 ABTARGET="incremental" 30 ABTARGET="incremental"
31elif [ "$CURRDIR" = "/srv/poky/autobuild/full-darwin-shihtzu/build" ]; then
32 ABTARGET="darwin"
31fi 33fi
32 34
33if [ "xpreamble" = "x$1" ]; then 35if [ "xpreamble" = "x$1" ]; then
@@ -61,6 +63,24 @@ if [ ! -e "$CONFFILE" ]; then
61 echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE" 63 echo 'BB_NUMBER_THREADS = "6"' >> "$CONFFILE"
62 echo 'PARALLEL_MAKE = "-j 6"' >> "$CONFFILE" 64 echo 'PARALLEL_MAKE = "-j 6"' >> "$CONFFILE"
63 echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" 65 echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
66 if [ "$ABTARGET" = "darwin" ]; then
67 if [ ! -d "$CURRDIR/meta-darwin" ]; then
68 svn co http://svn.o-hand.com/repos/poky/branches/experimental/meta-darwin $CURRDIR/meta-darwin
69 else
70 cd $CURRDIR/meta-darwin
71 svn up
72 fi
73 echo 'PACKAGE_CLASSES += "package_tar"' > "$CONFFILE"
74 echo "BBFILES += \"$CURRDIR/meta-darwin/packages/*/*.bb\"" > "$CONFFILE"
75 echo 'POKYMODE = "darwin"' > "$CONFFILE"
76 echo 'DARWINFILES = "file:///srv/poky/sources/"' > "$CONFFILE"
77 echo 'INHERIT_INSANE = ""' > "$CONFFILE"
78 echo 'FILESPATH_append = ":$CURRDIR/meta-darwin/files"' > "$CONFFILE"
79 fi
80fi
81
82if [ "$ABTARGET" = "darwin" ]; then
83 BBPATH=$CURRDIR/meta-darwin:$BBPATH
64fi 84fi
65 85
66bitbake $@ 86bitbake $@
diff --git a/scripts/pokyABConfig.py b/scripts/pokyABConfig.py
index 1b5aec0653..00898d49df 100644
--- a/scripts/pokyABConfig.py
+++ b/scripts/pokyABConfig.py
@@ -101,6 +101,16 @@ runImage(f6, 'qemux86', 'meta-toolchain-sdk')
101runImage(f6, 'qemuarm', 'world -c checkuriall') 101runImage(f6, 'qemuarm', 'world -c checkuriall')
102runComplete(f6) 102runComplete(f6)
103 103
104from buildbot.process import step, factory
105f7 = factory.BuildFactory()
106f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
107runPreamble(f7)
108defaultenv['DISTRO'] = 'poky'
109defaultenv['POKYLIBC'] = 'dummy'
110runImage(f7, 'ipodtouch', 'meta-clutter')
111defaultenv['POKYLIBC'] = 'glibc'
112runComplete(f7)
113
104#from buildbot.process import step, factory 114#from buildbot.process import step, factory
105#f7 = factory.BuildFactory() 115#f7 = factory.BuildFactory()
106#f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000) 116#f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000)
@@ -134,11 +144,17 @@ b6 = {'name': "poky-toolchain-shihtzu",
134 'factory': f6 144 'factory': f6
135 } 145 }
136 146
147b7 = {'name': "poky-full-darwin-shihtzu",
148 'slavename': "shihtzu-autobuild",
149 'builddir': "full-darwin-shihtzu",
150 'factory': f7
151 }
152
137#b7 = {'name': "poky-incremental-world-shihtzu", 153#b7 = {'name': "poky-incremental-world-shihtzu",
138# 'slavename': "shihtzu-autobuild", 154# 'slavename': "shihtzu-autobuild",
139# 'builddir': "incremental-world-shihtzu", 155# 'builddir': "incremental-world-shihtzu",
140# 'factory': f7 156# 'factory': f7
141# } 157# }
142 158
143poky_builders = [b3, b4, b5, b6] 159poky_builders = [b3, b4, b5, b6, b7]
144 160