summaryrefslogtreecommitdiff
path: root/meta/classes/utils.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-09 12:02:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-14 14:32:30 +0000
commit56160ca49dd546b7db07ae2021eefef7279b0f10 (patch)
treed1723ca4e836ad190f84b631f8658cb509cd6b0e /meta/classes/utils.bbclass
parent3910eaf88d14904eef85b9e391387547df7fc54e (diff)
downloadopenembedded-core-56160ca49dd546b7db07ae2021eefef7279b0f10.tar.gz
openembedded-core-56160ca49dd546b7db07ae2021eefef7279b0f10.tar.bz2
openembedded-core-56160ca49dd546b7db07ae2021eefef7279b0f10.zip
utils.bbclass: Fix documentation of create_cmdline_wrapper
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r--meta/classes/utils.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index c47ad6976d..52e511f5cf 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -246,12 +246,12 @@ oe_machinstall() {
}
create_cmdline_wrapper () {
- # Create a wrapper script
+ # Create a wrapper script where commandline options are needed
#
- # These are useful to work around relocation issues, by setting environment
- # variables which point to paths in the filesystem.
+ # These are useful to work around relocation issues, by passing extra options
+ # to a program
#
- # Usage: create_wrapper FILENAME [[VAR=VALUE]..]
+ # Usage: create_cmdline_wrapper FILENAME <extra-options>
cmd=$1
shift
@@ -269,7 +269,7 @@ END
}
create_wrapper () {
- # Create a wrapper script
+ # Create a wrapper script where extra environment variables are needed
#
# These are useful to work around relocation issues, by setting environment
# variables which point to paths in the filesystem.