Patchwork [1/2] oe-setup-builddir: Possibility to customize text.

login
register
mail settings
Submitter anders.roxell@gmail.com
Date March 27, 2013, 1:46 p.m.
Message ID <1364391983-9919-2-git-send-email-anders.roxell@gmail.com>
Download mbox | patch
Permalink /patch/47039/
State New
Headers show

Comments

anders.roxell@gmail.com - March 27, 2013, 1:46 p.m.
From: Anders Roxell <anders.roxell@enea.com>

Possibility to customize the text that is presented to the user when
they execute the script.

Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Tested-by: Maxin B. John <maxin.john@enea.com>
---
 scripts/oe-setup-builddir |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

Patch

diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 560453e..be5811d 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -55,6 +55,7 @@  if [ "x" != "x$TEMPLATECONF" ]; then
     fi
     OECORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample"
     OECORELOCALCONF="$TEMPLATECONF/local.conf.sample"
+    OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt"
 fi
 
 if [ "x" = "x$OECORELOCALCONF" ]; then
@@ -113,14 +114,9 @@  cat <<EOM
 
 You can now run 'bitbake <target>'
 
-Common targets are:
-    core-image-minimal
-    core-image-sato
-    meta-toolchain
-    meta-toolchain-sdk
-    adt-installer
-    meta-ide-support
-
-You can also run generated qemu images with a command like 'runqemu qemux86'
-
 EOM
+if [ "x" = "x$OECORENOTESCONF" ]; then
+    OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt"
+fi
+cat $OECORENOTESCONF
+unset OECORENOTESCONF