propagate from branch 'org.openembedded.dev' (head 968e6781dca5ee420f8b36434c88d54caf...
[openembedded.git] / contrib / angstrom / build-feeds.sh
1 #!/bin/bash
2
3 DO_UCLIBC=0
4
5 do_build() {
6         echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf
7
8         BUILD_MODE="glibc"
9         if [ "$BUILD_CLEAN" != "" ]
10         then
11                 bitbake -c clean $BUILD_CLEAN
12         fi
13
14         for target in $BUILD_TARGETS
15         do
16                 bitbake $target && do_report_success
17         done
18
19         if [ $DO_UCLIBC = 1 ]
20         then
21                 BUILD_MODE="uclibc"
22                 echo 'ANGSTROM_MODE = "uclibc"' >> conf/auto.conf
23                 for target in $BUILD_TARGETS
24                 do
25                         bitbake $target && do_report_success
26                 done
27         fi
28 }
29
30 do_report_success() {
31
32         echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder-feed.log
33 }
34
35 for machine in ep93xx gumstix-connex gumstix-verdex efika dht-walnut omap5912osk ixp4xxle ixp4xxbe c7x0 poodle tosa akita spitz collie simpad fic-gta01 a780 at91sam9263ek qemuarm h2200 h3900 h4000 hx4700  
36 do
37         BUILD_MACHINE=$machine
38         BUILD_CLEAN="libtool-cross qmake-native qmake2-native"
39         BUILD_TARGETS="texinfo flex bison gperf gcc binutils automake autoconf m4 pkgconfig \
40                        task-proper-tools mc screen \
41                        mono perl python ruby \
42                        gtk+ qt-x11-free qt4-x11-free \
43                        gpe-mini-browser midori minimo openmoko-browser2 webkit-gtklauncher \
44                        samba meta-nas-server \
45                        apache2 boa cherokee lighttpd thttpd \
46                        gpe-gallery gpe-scap notecase \
47                        pidgin irssi \
48                        roadmap-gtk2 gpsdrive navit \
49                        xmms mplayer quasar \
50                        wpa-gui wifi-radar kismet aircrack-ng dsniff \
51                        iptables iperf \
52                        gpe-bluetooth bluez-gnome python-pybluez \
53                        abiword gnumeric evince epdfview gimp \
54                        flite \
55                        ctorrent \
56                        asterisk \
57                        gnuplot mpfr gmp fftw fftwf fftwl \
58                        gphoto2 gqview imagemagick ufraw \
59                        tzdata \
60                       "
61         do_build
62 done
63