[oe-commits] org.oe.angstrom-2007.12-stable build-release.sh: Build initramfs-bootmenu-image and liveramdisk-image.
pfalcon commit
openembedded-commits at lists.openembedded.org
Wed Feb 6 16:06:13 UTC 2008
build-release.sh: Build initramfs-bootmenu-image and liveramdisk-image.
* Also, elaborate glibc vs uclibc image building.
Author: pfalcon at openembedded.org
Branch: org.openembedded.angstrom-2007.12-stable
Revision: 8e22d58b92d9c2092170c57781ba097dc76c1ed9
ViewMTN: http://monotone.openembedded.org/revision/info/8e22d58b92d9c2092170c57781ba097dc76c1ed9
Files:
1
contrib/angstrom/build-release.sh
Diffs:
#
# mt diff -r7011f851c73a9510dfab540ce3160cc441255de8 -r8e22d58b92d9c2092170c57781ba097dc76c1ed9
#
#
#
# patch "contrib/angstrom/build-release.sh"
# from [88bfd613aa56bfa26e1519c63464bfc02252720b]
# to [8dc1e9b29845a9c075fc3e435e7c45e22c7cdbf6]
#
============================================================
--- contrib/angstrom/build-release.sh 88bfd613aa56bfa26e1519c63464bfc02252720b
+++ contrib/angstrom/build-release.sh 8dc1e9b29845a9c075fc3e435e7c45e22c7cdbf6
@@ -1,25 +1,32 @@
#!/bin/bash
+DO_GLIBC=1
DO_UCLIBC=0
do_build() {
echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf
- BUILD_MODE="glibc"
- if [ "$BUILD_CLEAN" != "" ]
+ if [ $DO_GLIBC = 1 ]
then
- bitbake -c clean $BUILD_CLEAN
+ BUILD_MODE="glibc"
+ if [ "$BUILD_CLEAN" != "" ]
+ then
+ bitbake -c clean $BUILD_CLEAN
+ fi
+ for target in $BUILD_TARGETS
+ do
+ bitbake $target && do_report_success
+ done
fi
- for target in $BUILD_TARGETS
- 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
@@ -111,3 +118,28 @@ 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