diff options
author | Graeme Gregory <dp@xora.org.uk> | 2008-03-05 16:52:01 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2008-03-05 16:52:01 +0000 |
commit | b63eeefdc195007d494f73316fb205857161c1db (patch) | |
tree | 2561dab250a228f9dfbbbf876195aaa03b29fd4a /contrib/angstrom/build-release.sh | |
parent | 3b74cf7e4b032778ece9b86c4ef7432405bd9f71 (diff) | |
parent | 66a28b5eeec400962e615a0225befdada529b094 (diff) |
merge of '8fb06f47da36b8b2158bea8339a80be10a144e3c'
and 'a064a0293b3a138710553a3fa279c7f690061da8'
Diffstat (limited to 'contrib/angstrom/build-release.sh')
-rwxr-xr-x | contrib/angstrom/build-release.sh | 34 |
1 files changed, 17 insertions, 17 deletions
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 |