diff options
author | Koen Kooi <koen@openembedded.org> | 2007-12-23 10:39:46 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-12-23 10:39:46 +0000 |
commit | a5ab4c1e92a80b977b53072b349e05ab0f097dd1 (patch) | |
tree | c93cf04d86827b31ee317cdf0a2796be2db80175 /contrib | |
parent | 9030208546561970a18f0eb4be401b4d837aa310 (diff) | |
parent | 20e5fbe217c05900868741ec16b09092eaf0830a (diff) |
propagate from branch 'org.openembedded.dev' (head d8bfa63aa913e7227790ba2d02253cfbecce61ab)
to branch 'org.openembedded.dev.avr32' (head bb1b18fc3fa0562c4c7bd85bb0d9617c62261f2e)
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/angstrom/build-feeds.sh | 61 | ||||
-rwxr-xr-x | contrib/angstrom/build-release.sh | 41 | ||||
-rwxr-xr-x | contrib/mtn2cl/mtn2cl.sh | 2 |
3 files changed, 89 insertions, 15 deletions
diff --git a/contrib/angstrom/build-feeds.sh b/contrib/angstrom/build-feeds.sh new file mode 100755 index 0000000000..fb117d6c11 --- /dev/null +++ b/contrib/angstrom/build-feeds.sh @@ -0,0 +1,61 @@ +#!/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-feed.log +} + +for machine in ep93xx gumstix-connex gumstix-verdex efika omap5912osk ixp4xxle ixp4xxbe c7x0 poodle tosa akita spitz collie simpad fic-gta01 a780 at91sam9263ek qemuarm h2200 h3900 h4000 hx4700 +do + BUILD_MACHINE=$machine + BUILD_CLEAN="libtool-cross qmake-native qmake2-native" + BUILD_TARGETS="texinfo flex bison gcc binutils automake autoconf m4 pkgconfig \ + task-proper-tools mc screen emacs \ + mono perl python ruby \ + gtk+ qt-x11-free qt4-x11-free \ + gpe-mini-browser midori minimo openmoko-browser2 webkit-gtklauncher \ + samba \ + apache2 boa cherokee lighttpd thttpd \ + gpe-gallery gpe-scap notecase \ + pidgin irssi \ + roadmap-gtk2 gpsdrive navit \ + xmms mplayer quasar \ + wpa-gui wifi-radar kismet aircrack-ng dsniff \ + gpe-bluetooth bluez-gnome python-pybluez \ + abiword gnumeric evince epdfview gimp \ + flite \ + ctorrent \ + gnuplot octave fftw fftwf fftwl \ + gphoto2 gqview imagemagick ufraw \ + tzdata \ + " + do_build +done + diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh index efaaecf110..54c9fb4fa4 100755 --- a/contrib/angstrom/build-release.sh +++ b/contrib/angstrom/build-release.sh @@ -32,43 +32,57 @@ do_report_success() { echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder.log } +#cross toolchain +#for machine in ep93xx a780 efika collie ixp4xxbe +#do +# BUILD_MACHINE=$machine +# BUILD_TARGETS="meta-toolchain" +# BUILD_CLEAN="meta-toolchain" +# do_build +#done + + # No graphics for machine in ep93xx gumstix-connex gumstix-verdex efika omap5912osk do BUILD_MACHINE=$machine - BUILD_TARGETS="minimal-image console-image" + BUILD_CLEAN="libtool-cross base-files" + BUILD_TARGETS="base-image console-image" do_build done for machine in ixp4xxle ixp4xxbe do + BUILD_CLEAN="base-files" BUILD_MACHINE=$machine - BUILD_TARGETS="nslu2-minimal-image" + BUILD_TARGETS="base-image nslu2-base-image" do_build done # build altboot images for zaurus for machine in c7x0 poodle tosa akita spitz collie do + BUILD_CLEAN="base-files" 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 +for machine in fic-gta01 a780 at91sam9263ek qemuarm h2200 h3900 h4000 poodle tosa hx4700 c7x0 spitz akita collie simpad do + BUILD_CLEAN="base-files" BUILD_MACHINE=$machine - BUILD_TARGETS="minimal-image console-image x11-image" + BUILD_TARGETS="base-image console-image minimal-gpe-image x11-image" do_build done # graphics, disk storage for machine in spitz do + BUILD_CLEAN="base-files" BUILD_MACHINE=$machine BUILD_TARGETS="x11-gpe-image x11-pimlico-image x11-office-image" - BUILD_CLEAN="qmake2-native" do_build done @@ -76,16 +90,15 @@ done for machine in fic-gta01 a780 do BUILD_MACHINE=$machine - BUILD_TARGETS="openmoko-image" - BUILD_CLEAN="qmake2-native" + BUILD_TARGETS="minimal-openmoko-image openmoko-image" do_build done -#native toolchain -for machine in ep93xx a780 efika collie ixp4xxbe -do - BUILD_MACHINE=$machine - BUILD_TARGETS="gcc binutils pkgconfig make automake autoconf libtool m4 perl python gdb strace screen" - do_build -done +# populate feeds +#for machine in ep93xx a780 efika collie ixp4xxbe +#do +# BUILD_MACHINE=$machine +# BUILD_TARGETS="meta-angstrom-2007" +# do_build +#done diff --git a/contrib/mtn2cl/mtn2cl.sh b/contrib/mtn2cl/mtn2cl.sh index 416d393ccd..15d2722a8b 100755 --- a/contrib/mtn2cl/mtn2cl.sh +++ b/contrib/mtn2cl/mtn2cl.sh @@ -11,7 +11,7 @@ else export OLD_REV="l:\"1 week ago\"" fi -for i in `mtn log --brief --no-graph --no-merges --to ${OLD_REV} --from ${REV_NOW}| awk '{print $2 ":" $1}'` ; do \ +for i in `mtn log --brief --no-graph --no-merges --to "${OLD_REV}" --from "${REV_NOW}"| awk '{print $2 ":" $1}'` ; do \ export REV=`echo $i | awk -F: '{print $2}'` export AUTHOR=`echo $i | awk -F: '{print $1}'` export CL=`mtn ls certs ${REV} | grep -A 1 changelog | grep -v changelog | gawk -F'Value : ' '{ print $2 }'` |