merge
[vuplus_openembedded] / contrib / angstrom / build-feeds.sh
1 #!/bin/bash
2
3 DO_UCLIBC=1
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                 
24                 if [ "$BUILD_CLEAN" != "" ]
25                 then
26                         bitbake -c clean $BUILD_CLEAN
27                 fi
28                 
29                 for target in $BUILD_TARGETS
30                 do
31                         bitbake $target && do_report_success
32                 done
33         fi
34 }
35
36 do_report_success() {
37
38         echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder-feed.log
39 }
40
41 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  
42 do
43         BUILD_MACHINE=$machine
44         BUILD_CLEAN="libtool-cross qmake-native qmake2-native"
45         BUILD_TARGETS="texinfo flex bison gperf gcc binutils make automake autoconf m4 pkgconfig distcc \
46                        usbutils pciutils mtd-utils usbview hal \
47                        task-proper-tools mc screen findutils \
48                        mono perl python ruby \
49                        gtk+ qt-x11-free qt4-x11-free \
50                        gpe-mini-browser gpe-mini-browser2 netsurf midori minimo openmoko-browser2 webkit-gtklauncher \
51                        samba meta-nas-server \
52                        apache2 boa cherokee lighttpd thttpd \
53                        gpe-gallery gpe-scap notecase \
54                        pidgin irssi \
55                        roadmap-gtk2 gpsdrive navit \
56                        xmms mplayer quasar vlc-gpe gnome-mplayer \
57                        wpa-gui wifi-radar kismet aircrack-ng dsniff \
58                        nmap iptables iperf \
59                        gpe-login ipaq-sleep \
60                        gpe-bluetooth bluez-gnome python-pybluez \
61                        abiword gnumeric evince epdfview gimp \
62                        scummvm \
63                        flite \
64                        ctorrent \
65                        asterisk \
66                        gnuradio gnuplot mpfr gmp fftw fftwf fftwl \
67                        gphoto2 gqview imagemagick ufraw \
68                        tzdata \
69                        xserver-kdrive xserver-xorg \
70                        xf86-video-fbdev xf86-video-ati xf86-video-vesa \
71                        xf86-input-evdev xf86-input-keyboard xf86-input-mouse \
72                        task-opie \
73                        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 \
74                       "
75         do_build
76 done
77