[oe-commits] Anders Roxell : oe-setup-builddir: Possibility to customize text.

git at git.openembedded.org git at git.openembedded.org
Fri Mar 29 10:39:17 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 6ad06582621fc20d09d4d7fd78ea7e175367c187
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6ad06582621fc20d09d4d7fd78ea7e175367c187

Author: Anders Roxell <anders.roxell at enea.com>
Date:   Wed Mar 27 14:46:22 2013 +0100

oe-setup-builddir: Possibility to customize text.

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/conf-notes.txt  |    9 +++++++++
 scripts/oe-setup-builddir |   16 ++++++----------
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/meta/conf/conf-notes.txt b/meta/conf/conf-notes.txt
new file mode 100644
index 0000000..503cffa
--- /dev/null
+++ b/meta/conf/conf-notes.txt
@@ -0,0 +1,9 @@
+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'
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





More information about the Openembedded-commits mailing list