From: Koen Kooi Date: Sun, 9 Nov 2008 12:32:51 +0000 (+0100) Subject: angstrom release set: pass machine via env X-Git-Tag: Release-2010-05/1~5451^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc4fd06b4b6476d36ab24953337e59809e85459b;p=openembedded.git angstrom release set: pass machine via env --- 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 }