diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-22 01:19:58 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-22 01:19:58 +0000 |
commit | a5b88789410799e4b16539314ac635e22ce9c065 (patch) | |
tree | a93304a7e44ea13d134862838f9fe6313363271e /contrib/angstrom | |
parent | aeefe6d0325f7987a72d60243586a7d7ccda7a54 (diff) | |
download | openembedded-a5b88789410799e4b16539314ac635e22ce9c065.tar.gz |
build-release.sh: Build uclibc images before glibc ones.
* As some of them may be used as kernel builtin initramfs for the glibc
images.
Diffstat (limited to 'contrib/angstrom')
-rwxr-xr-x | contrib/angstrom/build-release.sh | 64 |
1 files changed, 36 insertions, 28 deletions
diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh index 2e0d506bff..48a827e48d 100755 --- a/contrib/angstrom/build-release.sh +++ b/contrib/angstrom/build-release.sh @@ -1,8 +1,6 @@ #!/bin/bash -DO_GLIBC=1 -DO_UCLIBC=0 - +# Worker functions do_build() { echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf @@ -39,6 +37,41 @@ do_report_success() { echo "$(date -u +%s) $target $BUILD_MODE $machine" >> autobuilder.log } +## +## Special uclibc targets +## Start with them, as some of them may be used as builtin kernel initramfs +## for the following glibc images. +## +DO_GLIBC=0 +DO_UCLIBC=1 + +# Bootmenu image +# As of now, not machine-dependent, so we build random armv5 machine +# Better to build armv4, but that's what I actually tested ;-). So, on TODO. +for machine in h4000 +do + BUILD_CLEAN="" + BUILD_MACHINE=$machine + BUILD_TARGETS="initramfs-bootmenu-image" + do_build +done + +# LiveRamdisk core. Same note applies. +for machine in h4000 +do + BUILD_CLEAN="" + BUILD_MACHINE=$machine + BUILD_TARGETS="liveramdisk-image" + do_build +done + + +## +## Main glibc targets +## +DO_GLIBC=1 +DO_UCLIBC=0 + #cross toolchain #for machine in ep93xx a780 efika collie ixp4xxbe #do @@ -118,28 +151,3 @@ done # do_build #done -# -# Special uclibc targets -# -DO_GLIBC=0 -DO_UCLIBC=1 - -# Bootmenu image -# As of now, not machine-dependent, so we build random armv5 machine -# Better to build armv4, but that's what I actually tested ;-). So, on TODO. -for machine in h4000 -do - BUILD_CLEAN="" - BUILD_MACHINE=$machine - BUILD_TARGETS="initramfs-bootmenu-image" - do_build -done - -# LiveRamdisk core. Same note applies. -for machine in h4000 -do - BUILD_CLEAN="" - BUILD_MACHINE=$machine - BUILD_TARGETS="liveramdisk-image" - do_build -done |