diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-20 15:59:04 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 00:29:29 +0100 |
| commit | 46d0cc3dc88307d69a7884c0e5c79e0c8d5e4dc7 (patch) | |
| tree | a5ec6b373a47da71cd2e474aac453ce022579179 /scripts/poky-env-internal | |
| parent | 211ae3b4dfe5e55b8fa18cfb9c71fa37f06c9748 (diff) | |
| download | poky-46d0cc3dc88307d69a7884c0e5c79e0c8d5e4dc7.tar.gz | |
Rename poky-init-build-env to oe-init-build-env
(From OE-Core rev: fa6176219b741eed346b21a3d923e9abc9b5442a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/poky-env-internal')
| -rwxr-xr-x | scripts/poky-env-internal | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal deleted file mode 100755 index 03b078f299..0000000000 --- a/scripts/poky-env-internal +++ /dev/null | |||
| @@ -1,58 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Poky Build Enviroment Setup Script | ||
| 4 | # | ||
| 5 | # Copyright (C) 2006-2007 OpenedHand Ltd. | ||
| 6 | # | ||
| 7 | # This program is free software; you can redistribute it and/or modify | ||
| 8 | # it under the terms of the GNU General Public License as published by | ||
| 9 | # the Free Software Foundation; either version 2 of the License, or | ||
| 10 | # (at your option) any later version. | ||
| 11 | # | ||
| 12 | # This program is distributed in the hope that it will be useful, | ||
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | # GNU General Public License for more details. | ||
| 16 | # | ||
| 17 | # You should have received a copy of the GNU General Public License | ||
| 18 | # along with this program; if not, write to the Free Software | ||
| 19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 20 | |||
| 21 | # It is assumed OEROOT is already defined when this is called | ||
| 22 | if [ -z "$OEROOT" ]; then | ||
| 23 | echo >&2 "Error: OEROOT is not defined!" | ||
| 24 | return | ||
| 25 | fi | ||
| 26 | |||
| 27 | if [ "x$BDIR" = "x" ]; then | ||
| 28 | if [ "x$1" = "x" ]; then | ||
| 29 | BDIR="build" | ||
| 30 | else | ||
| 31 | BDIR=`readlink -f "$1"` | ||
| 32 | fi | ||
| 33 | fi | ||
| 34 | if expr "$BDIR" : '/.*' > /dev/null ; then | ||
| 35 | BUILDDIR="$BDIR" | ||
| 36 | else | ||
| 37 | BUILDDIR="`pwd`/$BDIR" | ||
| 38 | fi | ||
| 39 | unset BDIR | ||
| 40 | |||
| 41 | BITBAKEDIR="$OEROOT/bitbake$BBEXTRA/" | ||
| 42 | |||
| 43 | BITBAKEDIR=`readlink -f "$BITBAKEDIR"` | ||
| 44 | BUILDDIR=`readlink -f "$BUILDDIR"` | ||
| 45 | |||
| 46 | if ! (test -d "$BITBAKEDIR"); then | ||
| 47 | echo >&2 "Error: The bitbake directory ($BITBAKEDIR) does not exist! Did you source the script in the poky directory?" | ||
| 48 | return | ||
| 49 | fi | ||
| 50 | |||
| 51 | PATH="${OEROOT}/scripts:$BITBAKEDIR/bin/:$PATH" | ||
| 52 | unset BITBAKEDIR | ||
| 53 | |||
| 54 | # Used by the poky-qemu script | ||
| 55 | export BUILDDIR | ||
| 56 | export PATH | ||
| 57 | |||
| 58 | export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS GIT_PROXY_COMMAND" | ||
