summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-05 13:52:24 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-05 13:52:24 +0000
commitae754b45fb78267899a2765044bb728c141ac909 (patch)
treebe742d2efa32990517c432db01614fdad059088c /contrib
parentf3129c4fbd92be0b5d705c411b77defd38845f61 (diff)
angstrom build release: do uclibc stuff first, so initramfs kernels build properly
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/angstrom/build-release.sh34
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