[oe-commits] org.oe.angstrom-2007.12-stable build-release.sh: Build uclibc images before glibc ones.

pfalcon commit openembedded-commits at lists.openembedded.org
Fri Feb 22 01:57:23 UTC 2008


build-release.sh: Build uclibc images before glibc ones.
* As some of them may be used as kernel builtin initramfs for the glibc
images.

Author: pfalcon at openembedded.org
Branch: org.openembedded.angstrom-2007.12-stable
Revision: 3c4740572257a3f558dad27c5b9c189e078819f1
ViewMTN: http://monotone.openembedded.org/revision/info/3c4740572257a3f558dad27c5b9c189e078819f1
Files:
1
contrib/angstrom/build-release.sh
Diffs:

#
# mt diff -r394cbc73fad68263184be5f13bf05f7ef52ef0df -r3c4740572257a3f558dad27c5b9c189e078819f1
#
# 
# 
# patch "contrib/angstrom/build-release.sh"
#  from [d75812d795d51516d0914835be0701e505661f04]
#    to [b6c92c9886b2ce60616d5281ca6f599ecf5dc64a]
# 
============================================================
--- contrib/angstrom/build-release.sh	d75812d795d51516d0914835be0701e505661f04
+++ contrib/angstrom/build-release.sh	b6c92c9886b2ce60616d5281ca6f599ecf5dc64a
@@ -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






More information about the Openembedded-commits mailing list