* [RFC][PATCH 0/2] Add support for customizing help text when running oe-init-build-env.
@ 2013-03-27 13:46 anders.roxell
2013-03-27 13:46 ` [PATCH 1/2] oe-setup-builddir: Possibility to customize text anders.roxell
2013-03-27 13:46 ` [PATCH 2/2] conf-notes.txt: add the customized text file anders.roxell
0 siblings, 2 replies; 3+ messages in thread
From: anders.roxell @ 2013-03-27 13:46 UTC (permalink / raw)
To: openembedded-core; +Cc: Anders Roxell
From: Anders Roxell <anders.roxell@enea.com>
This patch set makes it possible to customize the help text
that gets presented to the user when running the oe-init-build-env
(using the $TEMPLATECONF variable).
Patch 2:
conf-notes.txt: add the cusomized text file.
needs to be applied to meta-yocto/conf directory in poky.
Anders Roxell (2):
oe-setup-builddir: Possibility to customize text.
conf-notes.txt: add the customized text file.
meta/conf/conf-notes.txt | 9 +++++++++
scripts/oe-setup-builddir | 16 ++++++----------
2 files changed, 15 insertions(+), 10 deletions(-)
create mode 100644 meta/conf/conf-notes.txt
--
1.7.5.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] oe-setup-builddir: Possibility to customize text.
2013-03-27 13:46 [RFC][PATCH 0/2] Add support for customizing help text when running oe-init-build-env anders.roxell
@ 2013-03-27 13:46 ` anders.roxell
2013-03-27 13:46 ` [PATCH 2/2] conf-notes.txt: add the customized text file anders.roxell
1 sibling, 0 replies; 3+ messages in thread
From: anders.roxell @ 2013-03-27 13:46 UTC (permalink / raw)
To: openembedded-core; +Cc: Anders Roxell
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(-)
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] conf-notes.txt: add the customized text file.
2013-03-27 13:46 [RFC][PATCH 0/2] Add support for customizing help text when running oe-init-build-env anders.roxell
2013-03-27 13:46 ` [PATCH 1/2] oe-setup-builddir: Possibility to customize text anders.roxell
@ 2013-03-27 13:46 ` anders.roxell
1 sibling, 0 replies; 3+ messages in thread
From: anders.roxell @ 2013-03-27 13:46 UTC (permalink / raw)
To: openembedded-core; +Cc: Anders Roxell
From: Anders Roxell <anders.roxell@enea.com>
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Tested-by: Maxin B. John <maxin.john@enea.com>
---
meta/conf/conf-notes.txt | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
create mode 100644 meta/conf/conf-notes.txt
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'
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-27 14:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 13:46 [RFC][PATCH 0/2] Add support for customizing help text when running oe-init-build-env anders.roxell
2013-03-27 13:46 ` [PATCH 1/2] oe-setup-builddir: Possibility to customize text anders.roxell
2013-03-27 13:46 ` [PATCH 2/2] conf-notes.txt: add the customized text file anders.roxell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox