diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2009-04-29 12:31:42 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2009-04-29 12:40:16 +0200 |
commit | 565e76ba4588fc2baa34862f7378f243d117ee39 (patch) | |
tree | b52151af07539efc9077d6752ca231e0a130b8f0 /contrib/buildbot/scripts | |
parent | 3b21d9500708e4043b51f2edb75ca71d82b2dcd8 (diff) |
buildbot config: simplified a lot and cleaned
- it is configurable by few variables:
- machines_glibc/machines_uclibc lists MACHINE values for each libc build
(so atngw100 can be used just for uclibc)
- targets_glibc/targets_uclibc lists targets (can be image or any other
argument for bitbake)
- ANGSTROMLIBC and MACHINE are passed only by environment now so less
parameters are given to bbot_build_oe_target (RunOEImage before
renaming).
- initialization of factories is done in one function
bbot_initialize_factory which gets few arguments:
- factory
- clean $TMPDIR (default False)
- URL to git repository
- git branch
Diffstat (limited to 'contrib/buildbot/scripts')
-rwxr-xr-x | contrib/buildbot/scripts/full-oe-autobuild | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/contrib/buildbot/scripts/full-oe-autobuild b/contrib/buildbot/scripts/full-oe-autobuild index 65605f0a7b..6ad7367f8f 100755 --- a/contrib/buildbot/scripts/full-oe-autobuild +++ b/contrib/buildbot/scripts/full-oe-autobuild @@ -1,9 +1,10 @@ #!/bin/sh # Poky Automated Build Server Enviroment Setup Script +# OpenEmbedded Automated Build Server Environment Setup Script # # Copyright (C) 2006-2007 OpenedHand Ltd. -# Adapted to OpenEmbedded by Marcin Juszkiewicz in 2008. +# Copyright (C) 2008-2009 Marcin Juszkiewicz # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,24 +20,13 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -CURRDIR=`pwd` - -BB_DIR=$PWD/bitbake - -PATH=$BB_DIR/bin:$PATH - -# Don't export TARGET_ARCH - it *will* cause build failures -export PATH LD_LIBRARY_PATH - -export BBPATH=`pwd` +export PATH=$PWD/bitbake/bin:$PATH +export LC_ALL=C +export BBPATH=$PWD export BB_ENV_EXTRAWHITE="MACHINE ANGSTROMLIBC" -CONFFILE="./conf/local.conf" - umask 000 -rm conf/auto.conf - CONFFILE="./conf/local.conf" if [ ! -e "$CONFFILE" ]; then @@ -53,9 +43,7 @@ if [ ! -e "$CONFFILE" ]; then echo 'BBINCLUDELOGS = "1"' >> "$CONFFILE" fi -touch ./conf/local.conf - -MACHINE=$2 nice ionice -c3 bitbake $1 +nice ionice -c3 bitbake $1 retval=$? |