summaryrefslogtreecommitdiff
path: root/contrib/angstrom
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-09 13:32:51 +0100
committerKoen Kooi <koen@openembedded.org>2008-11-09 13:32:51 +0100
commitfc4fd06b4b6476d36ab24953337e59809e85459b (patch)
tree3bfce843dd139610cf6e9b7c1013a33c27394f57 /contrib/angstrom
parentc89f3d82f00cf55515f3f2cbd7adbfa3e529fca5 (diff)
angstrom release set: pass machine via env
Diffstat (limited to 'contrib/angstrom')
-rwxr-xr-xcontrib/angstrom/build-release.sh15
1 files changed, 6 insertions, 9 deletions
diff --git a/contrib/angstrom/build-release.sh b/contrib/angstrom/build-release.sh
index 8688ad5f75..402f20dd8e 100755
--- a/contrib/angstrom/build-release.sh
+++ b/contrib/angstrom/build-release.sh
@@ -3,36 +3,33 @@
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
+ echo 'ANGSTROM_MODE = "uclibc"' > conf/auto.conf
if [ "$BUILD_CLEAN" != "" ]
then
- bitbake -c clean $BUILD_CLEAN
+ MACHINE=$BUILD_MACHINE bitbake -c clean $BUILD_CLEAN
fi
for target in $BUILD_TARGETS
do
- bitbake $target && do_report_success
+ MACHINE=$BUILD_MACHINE bitbake $target && do_report_success
done
fi
BUILD_MODE="glibc"
- echo "MACHINE = \"$BUILD_MACHINE\"" > conf/auto.conf
- echo 'ANGSTROM_MODE = "glibc"' >> conf/auto.conf
+ echo 'ANGSTROM_MODE = "glibc"' > conf/auto.conf
if [ "$BUILD_CLEAN" != "" ]
then
- bitbake -c clean $BUILD_CLEAN
+ MACHINE=$BUILD_MACHINE bitbake -c clean $BUILD_CLEAN
fi
for target in $BUILD_TARGETS
do
- bitbake $target && do_report_success
+ MACHINE=$BUILD_MACHINE bitbake $target && do_report_success
done
}