summaryrefslogtreecommitdiffstats
path: root/scripts/oe-setup-builddir
diff options
context:
space:
mode:
authorBenjamin Esquivel <benjamin.esquivel@linux.intel.com>2015-03-11 10:40:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:41:52 +0000
commit1d43c3c2141ed367dd01d1d9d34df0c96d4fe25b (patch)
tree85e9a8cd31f9bc5f10bc9aac75c0981fefc8e47a /scripts/oe-setup-builddir
parent18c1c517b318d6d06db24631f10d32e1348cd387 (diff)
downloadpoky-1d43c3c2141ed367dd01d1d9d34df0c96d4fe25b.tar.gz
oe-setup-builddir: output message cleanup
Moved a Yoctoproject documentation banner to the end of the first-time run messages section [YOCTO #7368] (From OE-Core rev: 49ed897c01cb3be7582f79d863110688cc46dc55) Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-xscripts/oe-setup-builddir32
1 files changed, 17 insertions, 15 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index c91e079512..f73aa3416d 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -66,6 +66,7 @@ if [ -n "$TEMPLATECONF" ]; then
66 OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt" 66 OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt"
67fi 67fi
68 68
69unset SHOWYPDOC
69if [ -z "$OECORELOCALCONF" ]; then 70if [ -z "$OECORELOCALCONF" ]; then
70 OECORELOCALCONF="$OEROOT/meta/conf/local.conf.sample" 71 OECORELOCALCONF="$OEROOT/meta/conf/local.conf.sample"
71fi 72fi
@@ -77,15 +78,9 @@ different MACHINE (target hardware) or enable parallel build options to take
77advantage of multiple cores for example. See the file for more information as 78advantage of multiple cores for example. See the file for more information as
78common configuration options are commented. 79common configuration options are commented.
79 80
80The Yocto Project has extensive documentation about OE including a reference manual
81which can be found at:
82 http://yoctoproject.org/documentation
83
84For more information about OpenEmbedded see their website:
85 http://www.openembedded.org/
86
87EOM 81EOM
88 cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf 82 cp -f $OECORELOCALCONF $BUILDDIR/conf/local.conf
83 SHOWYPDOC=yes
89fi 84fi
90 85
91if [ -z "$OECORELAYERCONF" ]; then 86if [ -z "$OECORELAYERCONF" ]; then
@@ -97,14 +92,6 @@ You had no conf/bblayers.conf file. The configuration file has been created for
97you with some default values. To add additional metadata layers into your 92you with some default values. To add additional metadata layers into your
98configuration please add entries to this file. 93configuration please add entries to this file.
99 94
100The Yocto Project has extensive documentation about OE including a reference manual
101which can be found at:
102 http://yoctoproject.org/documentation
103
104For more information about OpenEmbedded see their website:
105 http://www.openembedded.org/
106
107
108EOM 95EOM
109 96
110 # Put the abosolute path to the layers in bblayers.conf so we can run 97 # Put the abosolute path to the layers in bblayers.conf so we can run
@@ -114,12 +101,27 @@ EOM
114 sed -e "s|##OEROOT##|$OEROOT|g" \ 101 sed -e "s|##OEROOT##|$OEROOT|g" \
115 -e "s|##COREBASE##|$OEROOT|g" \ 102 -e "s|##COREBASE##|$OEROOT|g" \
116 $OECORELAYERCONF > $BUILDDIR/conf/bblayers.conf 103 $OECORELAYERCONF > $BUILDDIR/conf/bblayers.conf
104 SHOWYPDOC=yes
117fi 105fi
118 106
119# Prevent disturbing a new GIT clone in same console 107# Prevent disturbing a new GIT clone in same console
120unset OECORELOCALCONF 108unset OECORELOCALCONF
121unset OECORELAYERCONF 109unset OECORELAYERCONF
122 110
111# Ending the first-time run message. Show the YP Documentation banner.
112if [ ! -z "$SHOWYPDOC" ]; then
113 cat <<EOM
114The Yocto Project has extensive documentation about OE including a reference
115manual which can be found at:
116 http://yoctoproject.org/documentation
117
118For more information about OpenEmbedded see their website:
119 http://www.openembedded.org/
120
121EOM
122# unset SHOWYPDOC
123fi
124
123cat <<EOM 125cat <<EOM
124 126
125### Shell environment set up for builds. ### 127### Shell environment set up for builds. ###