angstrom feed builder: more tweaks
[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                 MACHINE=$BUILD_MACHINE bitbake -c clean $BUILD_CLEAN
12         fi
13
14         for target in $BUILD_TARGETS
15         do
16                 MACHINE=$BUILD_MACHINE bitbake $target && do_report_success
17         done
18
19         if [ $DO_UCLIBC = 1 ]
20         then
21                 BUILD_MODE="uclibc"
22                 
23                 if [ "$BUILD_CLEAN" != "" ]
24                 then
25                         ANGSTROM_MODE=uclibc MACHINE=$BUILD_MACHINE bitbake -c clean $BUILD_CLEAN
26                 fi
27                 
28                 for target in $BUILD_TARGETS
29                 do
30                         ANGSTROM_MODE=uclibc MACHINE=$BUILD_MACHINE bitbake $target && do_report_success
31                 done
32         fi
33 }
34
35 do_report_success() {
36
37         echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder-feed.log
38 }
39
40 for machine in gumstix-connex gumstix-verdex efika dht-walnut omap5912osk ixp4xxle ixp4xxbe c7x0 poodle tosa akita spitz collie simpad om-gta01 om-gta02 a780 at91sam9263ek qemuarm h2200 h3900 h4000 hx4700  
41 do
42         BUILD_MACHINE=$machine
43         BUILD_CLEAN="libtool-cross qmake-native qmake2-native"
44         BUILD_TARGETS="texinfo flex bison gperf gcc binutils make automake autoconf m4 pkgconfig distcc \
45                        usbutils pciutils mtd-utils usbview hal setserial \
46                        task-proper-tools mc screen findutils \
47                        mono jamvm perl python ruby \
48                        gtk+ qt-x11-free qt4-x11-free \
49                        gpe-mini-browser gpe-mini-browser2 netsurf midori firefox epiphany minimo openmoko-browser2 \
50                        samba meta-nas-server \
51                        apache2 boa cherokee lighttpd thttpd \
52                        gpe-gallery gpe-scap notecase task-gpe-pim \
53                        pidgin irssi \
54                        roadmap-gtk2 gpsdrive navit \
55                        xmms totem mplayer quasar vlc-gpe gnome-mplayer \
56                        wpa-gui wifi-radar kismet aircrack-ng dsniff \
57                        nmap iptables iperf openvpn vpnc \
58                        gpe-login ipaq-sleep \
59                        gpe-bluetooth bluez-gnome python-pybluez \
60                        abiword gnumeric evince epdfview gimp \
61                        scummvm \
62                        flite \
63                        ctorrent \
64                        asterisk \
65                        gnuradio gnuplot mpfr gmp fftw fftwf fftwl \
66                        gphoto2 gqview imagemagick ufraw \
67                        tzdata \
68                        xserver-kdrive xserver-xorg \
69                        xf86-video-fbdev xf86-video-ati xf86-video-vesa \
70                        xf86-input-evdev xf86-input-keyboard xf86-input-mouse \
71                        task-opie \
72                        task-openmoko-base task-openmoko-debug task-openmoko-examples task-openmoko-feed task-openmoko-games task-openmoko-linux task-openmoko-native-sdk task-openmoko-net task-openmoko-phone task-openmoko-pim task-openmoko-ui \
73                        gsm0710muxd frameworkd zhone \
74                gnome-games \ 
75                "
76         do_build
77 done
78