qemu: curl isn't in DEPENDS, so disable it
[openembedded.git] / contrib / angstrom / build-release.sh
bloba4a262616e588027266e9a45b1607412baca7e8e
1 #!/bin/bash
3 DO_UCLIBC=0
5 do_build() {
6 if [ $DO_UCLIBC = 1 ]
7 then
8 BUILD_MODE="uclibc"
9 echo 'ANGSTROMLIBC = "uclibc"' > conf/auto.conf
11 if [ "$BUILD_CLEAN" != "" ]
12 then
13 MACHINE=$BUILD_MACHINE bitbake -c clean $BUILD_CLEAN
16 for target in $BUILD_TARGETS
18 MACHINE=$BUILD_MACHINE bitbake $target && do_report_success
19 done
22 BUILD_MODE="glibc"
23 echo 'ANGSTROMLIBC = "glibc"' > conf/auto.conf
25 if [ "$BUILD_CLEAN" != "" ]
26 then
27 MACHINE=$BUILD_MACHINE bitbake -c clean $BUILD_CLEAN
30 for target in $BUILD_TARGETS
32 MACHINE=$BUILD_MACHINE bitbake $target && do_report_success
33 done
36 do_report_success() {
38 echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder.log
41 #cross toolchain
42 # Architectures:
43 # * arm-oabi: simpad
44 # * armv4t: om-gta01
45 # * armv5te: c7x0
46 # * armv6: nokia800
47 # * armv6-novfp: htckaiser
48 # * armv7a: beagleboard
49 # * ppc405: dht-walnut
50 # * ppc603e: efika
51 # * i586: qemux86
53 for machine in simpad om-gta01 c7x0 nokia800 htckaiser beagleboard dht-walnut efika qemux86
55 BUILD_MACHINE=$machine
56 BUILD_TARGETS="meta-toolchain"
57 BUILD_CLEAN="meta-toolchain"
58 do_build
59 done
62 # No graphics
63 for machine in dns323 mv2120 kuropro lspro tsx09 ts409 gumstix-connex gumstix-verdex efika dht-walnut omap5912osk afeb9260 at91sam9g20ek
65 BUILD_MACHINE=$machine
66 BUILD_CLEAN="base-files"
67 BUILD_TARGETS="base-image console-image"
68 do_build
69 done
71 for machine in ixp4xxle ixp4xxbe
73 BUILD_CLEAN="base-files"
74 BUILD_MACHINE=$machine
75 BUILD_TARGETS="base-image nslu2-base-image nas-server-image"
76 do_build
77 done
79 # build kexecboot kernels for supported machines
80 for machine in h2200 hx4700 c7x0 akita spitz poodle collie tosa
82 BUILD_MACHINE=$machine
83 BUILD_TARGETS="linux-kexecboot"
84 do_build
85 done
88 # graphics, flash storage
89 for machine in overo omap3-pandora beagleboard omap3evm om-gta01 om-gta02 a780 at91sam9263ek qemuarm qemux86 h2200 h3900 h4000 h5000 poodle tosa hx4700 c7x0 spitz akita collie simpad palmz72
91 BUILD_CLEAN="base-files"
92 BUILD_MACHINE=$machine
93 BUILD_TARGETS="initramfs-bootmenu-image base-image console-image minimal-gpe-image x11-image"
94 do_build
95 done
97 # graphics, disk storage
98 for machine in spitz overo omap3-pandora beagleboard omap3evm
100 BUILD_CLEAN="base-files"
101 BUILD_MACHINE=$machine
102 BUILD_TARGETS="x11-gpe-image x11-pimlico-image x11-office-image"
103 do_build
104 done
106 #phones
107 for machine in om-gta01 om-gta02 a780
109 BUILD_MACHINE=$machine
110 BUILD_TARGETS="minimal-openmoko-image openmoko-image fso-console-image fso-illume-image fso-image-light fso-image-nox fso-image"
111 do_build
112 done
114 # omap3 boards
115 for machine in overo omap3-pandora beagleboard omap3evm
117 BUILD_MACHINE=$machine
118 BUILD_TARGETS="beagleboard-demo-image"
119 do_build
120 done
122 # Opie
123 for machine in h2200 h3900 h4000 h5000 hx4700 htcuniversal akita c7x0 collie poodle spitz tosa simpad palmz72
125 BUILD_CLEAN="base-files"
126 BUILD_MACHINE=$machine
127 BUILD_TARGETS="opie-image"
128 do_build
129 done