summaryrefslogtreecommitdiffstats
path: root/scripts/oe-setup-builddir
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 12:26:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 12:56:16 +0100
commit65f4b6541041e62f562830cfedf8284c0bc86a16 (patch)
tree0effc3553e119325dd1cd70a33c3712ad4d9cf56 /scripts/oe-setup-builddir
parent91d72e6a992d5ed55c0af427e147c7ae3adc517c (diff)
downloadpoky-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-builddir35
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
60fi 60fi
61if ! (test -r "$BUILDDIR/conf/local.conf"); then 61if ! (test -r "$BUILDDIR/conf/local.conf"); then
62cat <<EOM 62cat <<EOM
63You had no conf/local.conf file. Poky has created this configuration file for 63You had no conf/local.conf file. This configuration file has therefore beend
64you with some default values. You may wish to edit it to use a different MACHINE 64created 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 65different MACHINE (target hardware) or enable parallel build options to take
66cores for example. See the file for more information as common configuration 66advantage of multiple cores for example. See the file for more information as
67options are commented. 67common configuration options are commented.
68 68
69Also, for more information see the Poky Reference Manual: 69The Yocto Project has extensive documentation about OE including a reference manual
70which can be found at:
70 http://yoctoproject.org/community/documentation 71 http://yoctoproject.org/community/documentation
71 72
73For more information about OpenEmbedded see their website:
74 http://www.openembedded.org/
75
72EOM 76EOM
73 cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf 77 cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf
74fi 78fi
@@ -78,13 +82,18 @@ if [ "x" = "x$OECORELAYERCONF" ]; then
78fi 82fi
79if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then 83if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
80cat <<EOM 84cat <<EOM
81You had no conf/bblayers.conf file. Poky has created this configuration file for 85You had no conf/bblayers.conf file. The configuration file has been created for
82you with some default values. To add additional metadata layers into your 86you with some default values. To add additional metadata layers into your
83configuration please add entries to this file. 87configuration please add entries to this file.
84 88
85For more information see the Poky Reference Manual: 89The Yocto Project has extensive documentation about OE including a reference manual
90which can be found at:
86 http://yoctoproject.org/community/documentation 91 http://yoctoproject.org/community/documentation
87 92
93For more information about OpenEmbedded see their website:
94 http://www.openembedded.org/
95
96
88EOM 97EOM
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
99cat <<EOM 108cat <<EOM
100 109
101### Shell environment set up for Poky builds. ### 110### Shell environment set up for builds. ###
102 111
103You can now run 'bitbake <target>' 112You can now run 'bitbake <target>'
104 113