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 | |
parent | 732e3cab7a9f6d18d59adba0e5dc17720b6f7e19 (diff) | |
download | poky-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-x | scripts/poky-autobuild | 20 | ||||
-rw-r--r-- | scripts/pokyABConfig.py | 18 |
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" |
29 | elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then | 29 | elif [ "$CURRDIR" = "/srv/poky/autobuild/incremental-shihtzu/build" ]; then |
30 | ABTARGET="incremental" | 30 | ABTARGET="incremental" |
31 | elif [ "$CURRDIR" = "/srv/poky/autobuild/full-darwin-shihtzu/build" ]; then | ||
32 | ABTARGET="darwin" | ||
31 | fi | 33 | fi |
32 | 34 | ||
33 | if [ "xpreamble" = "x$1" ]; then | 35 | if [ "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 | ||
80 | fi | ||
81 | |||
82 | if [ "$ABTARGET" = "darwin" ]; then | ||
83 | BBPATH=$CURRDIR/meta-darwin:$BBPATH | ||
64 | fi | 84 | fi |
65 | 85 | ||
66 | bitbake $@ | 86 | bitbake $@ |
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') | |||
101 | runImage(f6, 'qemuarm', 'world -c checkuriall') | 101 | runImage(f6, 'qemuarm', 'world -c checkuriall') |
102 | runComplete(f6) | 102 | runComplete(f6) |
103 | 103 | ||
104 | from buildbot.process import step, factory | ||
105 | f7 = factory.BuildFactory() | ||
106 | f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
107 | runPreamble(f7) | ||
108 | defaultenv['DISTRO'] = 'poky' | ||
109 | defaultenv['POKYLIBC'] = 'dummy' | ||
110 | runImage(f7, 'ipodtouch', 'meta-clutter') | ||
111 | defaultenv['POKYLIBC'] = 'glibc' | ||
112 | runComplete(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 | ||
147 | b7 = {'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 | ||
143 | poky_builders = [b3, b4, b5, b6] | 159 | poky_builders = [b3, b4, b5, b6, b7] |
144 | 160 | ||