diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-18 15:14:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:57:53 +0100 |
commit | 69b69193411849de71cf7c81735c3239e28a2940 (patch) | |
tree | 054081264a49c9aa3002bc358ab0c4d7b7239015 /bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml | |
parent | 86d30d756a60d181a95cf07041920a367a0cd0ba (diff) | |
download | poky-69b69193411849de71cf7c81735c3239e28a2940.tar.gz |
bitbake: bitbake: Add explict getVar param for (non) expansion
Rather than just use d.getVar(X), use the more explict d.getVar(X, False)
since at some point in the future, having the default of expansion would
be nice. This is the first step towards that.
This patch was mostly made using the command:
sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *`
(Bitbake rev: 659ef95c9b8aced3c4ded81c48bcc0fbde4d429f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml index 2fb58e413e..b37b2ae42c 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml | |||
@@ -628,7 +628,7 @@ | |||
628 | <literallayout class='monospaced'> | 628 | <literallayout class='monospaced'> |
629 | SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module" | 629 | SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module" |
630 | SRCREV = "EXAMPLE_CLEARCASE_TAG" | 630 | SRCREV = "EXAMPLE_CLEARCASE_TAG" |
631 | PV = "${@d.getVar("SRCREV").replace("/", "+")}" | 631 | PV = "${@d.getVar("SRCREV", False).replace("/", "+")}" |
632 | </literallayout> | 632 | </literallayout> |
633 | The fetcher uses the <filename>rcleartool</filename> or | 633 | The fetcher uses the <filename>rcleartool</filename> or |
634 | <filename>cleartool</filename> remote client, depending on | 634 | <filename>cleartool</filename> remote client, depending on |