From: Koen Kooi Date: Wed, 5 Mar 2008 13:52:24 +0000 (+0000) Subject: angstrom build release: do uclibc stuff first, so initramfs kernels build properly X-Git-Tag: Release-2010-05/1~7572^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae754b45fb78267899a2765044bb728c141ac909;p=openembedded.git angstrom build release: do uclibc stuff first, so initramfs kernels build properly --- diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh index 2f882450c8..31dd704994 100755 --- a/contrib/angstrom/build-release.sh +++ b/contrib/angstrom/build-release.sh @@ -5,6 +5,22 @@ DO_UCLIBC=1 do_build() { echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf + if [ $DO_UCLIBC = 1 ] + then + BUILD_MODE="uclibc" + echo 'ANGSTROM_MODE = "uclibc"' >> conf/auto.conf + + if [ "$BUILD_CLEAN" != "" ] + then + bitbake -c clean $BUILD_CLEAN + fi + + for target in $BUILD_TARGETS + do + bitbake $target && do_report_success + done + fi + BUILD_MODE="glibc" if [ "$BUILD_CLEAN" != "" ] then @@ -15,22 +31,6 @@ do_build() { do bitbake $target && do_report_success done - - if [ $DO_UCLIBC = 1 ] - then - BUILD_MODE="uclibc" - echo 'ANGSTROM_MODE = "uclibc"' >> conf/auto.conf - - if [ "$BUILD_CLEAN" != "" ] - then - bitbake -c clean $BUILD_CLEAN - fi - - for target in $BUILD_TARGETS - do - bitbake $target && do_report_success - done - fi } do_report_success() { @@ -79,7 +79,7 @@ for machine in fic-gta01 a780 at91sam9263ek qemuarm h2200 h3900 h4000 h5000 pood 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