diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 12:26:25 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 12:56:16 +0100 |
| commit | 65f4b6541041e62f562830cfedf8284c0bc86a16 (patch) | |
| tree | 0effc3553e119325dd1cd70a33c3712ad4d9cf56 /scripts/oe-setup-builddir | |
| parent | 91d72e6a992d5ed55c0af427e147c7ae3adc517c (diff) | |
| download | poky-65f4b6541041e62f562830cfedf8284c0bc86a16.tar.gz | |
Further cleanup of various poky references
(From OE-Core rev: fe73ea8c510877fe4e3c117985e8f3d0b79ddf1b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-setup-builddir')
| -rw-r--r-- | scripts/oe-setup-builddir | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index 0e616a7805..2f8a0646b9 100644 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | # Poky Build Enviroment Setup Script | 3 | # OE Build Enviroment Setup Script |
| 4 | # | 4 | # |
| 5 | # Copyright (C) 2006-2007 OpenedHand Ltd. | 5 | # Copyright (C) 2006-2011 Linux Foundation |
| 6 | # | 6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify | 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 | 8 | # it under the terms of the GNU General Public License as published by |
| @@ -44,7 +44,7 @@ if [ "x" != "x$TEMPLATECONF" ]; then | |||
| 44 | if ! (test -d "$TEMPLATECONF"); then | 44 | if ! (test -d "$TEMPLATECONF"); then |
| 45 | # Allow TEMPLATECONF=meta-xyz/conf as a shortcut | 45 | # Allow TEMPLATECONF=meta-xyz/conf as a shortcut |
| 46 | if [ -d "$OEROOT/$TEMPLATECONF" ]; then | 46 | if [ -d "$OEROOT/$TEMPLATECONF" ]; then |
| 47 | TEMPLATECONF="$OEROOT/$POKYCONF" | 47 | TEMPLATECONF="$OEROOT/$TEMPLATECONF" |
| 48 | fi | 48 | fi |
| 49 | if ! (test -d "$TEMPLATECONF"); then | 49 | if ! (test -d "$TEMPLATECONF"); then |
| 50 | echo >&2 "Error: '$TEMPLATECONF' must be a directory containing local.conf & bblayers.conf" | 50 | echo >&2 "Error: '$TEMPLATECONF' must be a directory containing local.conf & bblayers.conf" |
| @@ -60,15 +60,19 @@ if [ "x" = "x$OECORELOCALCONF" ]; then | |||
| 60 | fi | 60 | fi |
| 61 | if ! (test -r "$BUILDDIR/conf/local.conf"); then | 61 | if ! (test -r "$BUILDDIR/conf/local.conf"); then |
| 62 | cat <<EOM | 62 | cat <<EOM |
| 63 | You had no conf/local.conf file. Poky has created this configuration file for | 63 | You had no conf/local.conf file. This configuration file has therefore beend |
| 64 | you with some default values. You may wish to edit it to use a different MACHINE | 64 | created for you with some default values. You may wish to edit it to use a |
| 65 | (target hardware) or enable parallel build options to take advantage of multiple | 65 | different MACHINE (target hardware) or enable parallel build options to take |
| 66 | cores for example. See the file for more information as common configuration | 66 | advantage of multiple cores for example. See the file for more information as |
| 67 | options are commented. | 67 | common configuration options are commented. |
| 68 | 68 | ||
| 69 | Also, for more information see the Poky Reference Manual: | 69 | The Yocto Project has extensive documentation about OE including a reference manual |
| 70 | which can be found at: | ||
| 70 | http://yoctoproject.org/community/documentation | 71 | http://yoctoproject.org/community/documentation |
| 71 | 72 | ||
| 73 | For more information about OpenEmbedded see their website: | ||
| 74 | http://www.openembedded.org/ | ||
| 75 | |||
| 72 | EOM | 76 | EOM |
| 73 | cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf | 77 | cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf |
| 74 | fi | 78 | fi |
| @@ -78,13 +82,18 @@ if [ "x" = "x$OECORELAYERCONF" ]; then | |||
| 78 | fi | 82 | fi |
| 79 | if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then | 83 | if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then |
| 80 | cat <<EOM | 84 | cat <<EOM |
| 81 | You had no conf/bblayers.conf file. Poky has created this configuration file for | 85 | You had no conf/bblayers.conf file. The configuration file has been created for |
| 82 | you with some default values. To add additional metadata layers into your | 86 | you with some default values. To add additional metadata layers into your |
| 83 | configuration please add entries to this file. | 87 | configuration please add entries to this file. |
| 84 | 88 | ||
| 85 | For more information see the Poky Reference Manual: | 89 | The Yocto Project has extensive documentation about OE including a reference manual |
| 90 | which can be found at: | ||
| 86 | http://yoctoproject.org/community/documentation | 91 | http://yoctoproject.org/community/documentation |
| 87 | 92 | ||
| 93 | For more information about OpenEmbedded see their website: | ||
| 94 | http://www.openembedded.org/ | ||
| 95 | |||
| 96 | |||
| 88 | EOM | 97 | EOM |
| 89 | 98 | ||
| 90 | # Put the abosolute path to the layers in bblayers.conf so we can run | 99 | # Put the abosolute path to the layers in bblayers.conf so we can run |
| @@ -98,7 +107,7 @@ unset OECORELAYERCONF | |||
| 98 | 107 | ||
| 99 | cat <<EOM | 108 | cat <<EOM |
| 100 | 109 | ||
| 101 | ### Shell environment set up for Poky builds. ### | 110 | ### Shell environment set up for builds. ### |
| 102 | 111 | ||
| 103 | You can now run 'bitbake <target>' | 112 | You can now run 'bitbake <target>' |
| 104 | 113 | ||
