increase dvbapp PR.
[vuplus_openembedded] / contrib / angstrom / build-release.sh
index e1e803f..a4a2626 100755 (executable)
@@ -3,28 +3,34 @@
 DO_UCLIBC=0
 
 do_build() {
-       echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf
+        if [ $DO_UCLIBC = 1 ]
+        then
+                BUILD_MODE="uclibc"
+                echo 'ANGSTROMLIBC = "uclibc"' > conf/auto.conf
+
+                if [ "$BUILD_CLEAN" != "" ]
+                then
+                        MACHINE=$BUILD_MACHINE bitbake -c clean $BUILD_CLEAN
+                fi
+
+                for target in $BUILD_TARGETS
+                do
+                        MACHINE=$BUILD_MACHINE bitbake $target && do_report_success
+                done
+        fi
 
        BUILD_MODE="glibc"
+        echo 'ANGSTROMLIBC = "glibc"' > conf/auto.conf
+
        if [ "$BUILD_CLEAN" != "" ]
        then
-               bitbake -c clean $BUILD_CLEAN
+               MACHINE=$BUILD_MACHINE bitbake -c clean $BUILD_CLEAN
        fi
 
        for target in $BUILD_TARGETS
        do
-               bitbake $target && do_report_success
+               MACHINE=$BUILD_MACHINE 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() {
@@ -33,20 +39,31 @@ do_report_success() {
 }
 
 #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
+# Architectures:
+# * arm-oabi:  simpad
+# * armv4t:    om-gta01
+# * armv5te:   c7x0
+# * armv6:     nokia800
+# * armv6-novfp: htckaiser
+# * armv7a:    beagleboard
+# * ppc405:    dht-walnut
+# * ppc603e:   efika
+# * i586:      qemux86
+
+for machine in simpad om-gta01 c7x0 nokia800 htckaiser beagleboard dht-walnut efika qemux86
+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
+for machine in dns323 mv2120 kuropro lspro tsx09 ts409 gumstix-connex gumstix-verdex efika dht-walnut omap5912osk afeb9260 at91sam9g20ek
 do
        BUILD_MACHINE=$machine
-       BUILD_CLEAN="libtool-cross base-files"
+       BUILD_CLEAN="base-files"
        BUILD_TARGETS="base-image console-image"
        do_build
 done
@@ -55,30 +72,30 @@ for machine in ixp4xxle ixp4xxbe
 do
        BUILD_CLEAN="base-files"
        BUILD_MACHINE=$machine
-       BUILD_TARGETS="base-image nslu2-base-image"
+       BUILD_TARGETS="base-image nslu2-base-image nas-server-image"
        do_build
 done    
 
-# build altboot images for zaurus
-for machine in c7x0 poodle tosa akita spitz collie
+# build kexecboot kernels for supported machines
+for machine in h2200 hx4700 c7x0 akita spitz poodle collie tosa
 do
-       BUILD_CLEAN="base-files"
        BUILD_MACHINE=$machine
-       BUILD_TARGETS="altboot-console-image"
+       BUILD_TARGETS="linux-kexecboot"
        do_build
-done  
+done 
+
 
 # graphics, flash storage
-for machine in fic-gta01 a780 at91sam9263ek qemuarm h2200 h3900 h4000 h5000 poodle tosa hx4700 c7x0 spitz akita collie simpad 
+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
 do
        BUILD_CLEAN="base-files"
        BUILD_MACHINE=$machine
-       BUILD_TARGETS="base-image console-image minimal-gpe-image x11-image"
+       BUILD_TARGETS="initramfs-bootmenu-image base-image console-image minimal-gpe-image x11-image"
        do_build
 done
 
 # graphics, disk storage       
-for machine in spitz 
+for machine in spitz overo omap3-pandora beagleboard omap3evm 
 do
        BUILD_CLEAN="base-files"
        BUILD_MACHINE=$machine
@@ -87,18 +104,27 @@ do
 done 
 
 #phones
-for machine in fic-gta01 a780 
+for machine in om-gta01 om-gta02 a780  
 do
        BUILD_MACHINE=$machine
-       BUILD_TARGETS="minimal-openmoko-image openmoko-image"
+       BUILD_TARGETS="minimal-openmoko-image openmoko-image fso-console-image fso-illume-image fso-image-light fso-image-nox fso-image"
        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
+# omap3 boards
+for machine in overo omap3-pandora beagleboard omap3evm
+do
+       BUILD_MACHINE=$machine
+       BUILD_TARGETS="beagleboard-demo-image"
+       do_build
+done
+
+# Opie
+for machine in h2200 h3900 h4000 h5000 hx4700 htcuniversal akita c7x0 collie poodle spitz tosa simpad palmz72
+do
+        BUILD_CLEAN="base-files"
+        BUILD_MACHINE=$machine
+        BUILD_TARGETS="opie-image"
+        do_build
+done