[OE-core] [PATCH 1/2] oe-setup-builddir: Possibility to customize text.

anders.roxell at gmail.com anders.roxell at gmail.com
Wed Mar 27 13:46:22 UTC 2013


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

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
-- 
1.7.5.4





More information about the Openembedded-core mailing list