summaryrefslogtreecommitdiff
path: root/contrib/angstrom/build-release.sh
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2007-12-07 10:00:18 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2007-12-07 10:00:18 +0000
commit8beb70740dbd64d2138df8a07aafc24719cb50a6 (patch)
treeb9afae298a6bcb79696984da4422d5ef939a4031 /contrib/angstrom/build-release.sh
parentd2bbf4ace892d7f32933ca26f1f2b320fc0bcb99 (diff)
parente25bfd9221d17ae8fe0efdc96ed9cd74de0e4a4d (diff)
merge of '576d7c6e5dbff47f56003806561fdc43a07c6f50'
and 'f564197dcff7dea800a0dcabf27c4809e2521c8c'
Diffstat (limited to 'contrib/angstrom/build-release.sh')
-rwxr-xr-xcontrib/angstrom/build-release.sh82
1 files changed, 82 insertions, 0 deletions
diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh
new file mode 100755
index 0000000000..7ba5f8bf3b
--- /dev/null
+++ b/contrib/angstrom/build-release.sh
@@ -0,0 +1,82 @@
+#!/bin/bash
+
+DO_UCLIBC=0
+
+do_build() {
+ echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf
+
+ BUILD_MODE="glibc"
+ if [ "$BUILD_CLEAN" != "" ]
+ then
+ bitbake -c clean $BUILD_CLEAN
+ fi
+
+ for target in $BUILD_TARGETS
+ do
+ bitbake $target && do_report_success
+ done
+
+ if [ $DO_UCLIBC = 1 ]
+ then
+ BUILD_MODE="uclibc"
+ echo 'ANGSTROM_MODE = "uclibc"' >> conf/auto.conf
+ for target in $BUILD_TARGETS
+ do
+ bitbake $target && do_report_success
+ done
+ fi
+}
+
+do_report_success() {
+
+ echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder.log
+}
+
+# No graphics
+for machine in ep93xx gumstix-connex efika omap5912osk
+do
+ BUILD_MACHINE=$machine
+ BUILD_TARGETS="minimal-image console-image"
+ do_build
+done
+
+for machine in ixp4xxle ixp4xxbe
+do
+ BUILD_MACHINE=$machine
+ BUILD_TARGETS="nslu2-minimal-image"
+ do_build
+done
+
+# build altboot images for zaurus
+for machine in c7x0 poodle tosa akita spitz collie
+do
+ BUILD_MACHINE=$machine
+ BUILD_TARGETS="altboot-console-image"
+ do_build
+done
+
+# graphics, flash storage
+for machine in fic-gta01 a780 at91sam9263ek qemuarm h2200 h4000 poodle tosa hx4700 c7x0 spitz akita collie
+do
+ BUILD_MACHINE=$machine
+ BUILD_TARGETS="minimal-image console-image x11-image"
+ do_build
+done
+
+# graphics, disk storage
+for machine in spitz
+do
+ BUILD_MACHINE=$machine
+ BUILD_TARGETS="x11-gpe-image x11-pimlico-image x11-office-image"
+ BUILD_CLEAN="qmake2-native"
+ do_build
+done
+
+#phones
+for machine in fic-gta01 a780
+do
+ BUILD_MACHINE=$machine
+ BUILD_TARGETS="openmoko-image"
+ BUILD_CLEAN="qmake2-native"
+ do_build
+done