summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-09-14 13:41:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-14 23:16:42 +0100
commitf3961107e29bf854ea85dbba41f400c7e5dfc81c (patch)
tree1375224dcbe9517ce2d4e1e29d20c1b7b2fdbf20 /bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst
parentbf47addb34debc049b59e5e466228f00045c2061 (diff)
downloadpoky-f3961107e29bf854ea85dbba41f400c7e5dfc81c.tar.gz
bitbake: bitbake.conf: fix vars_from_file() call
The reference to this function was dropped from BBHandler.py in: https://git.openembedded.org/bitbake/commit/?id=aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061 (Bitbake rev: b4fe8507079b6464287549f3eac1f1fc8d0d9be2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst
index c5a4ce60bf..83a415d994 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst
@@ -216,7 +216,7 @@ Following is the complete "Hello World" example.
216 use some editor to create the ``bitbake.conf`` so that it contains 216 use some editor to create the ``bitbake.conf`` so that it contains
217 the following:: 217 the following::
218 218
219 PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" 219 PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
220 220
221 TMPDIR = "${TOPDIR}/tmp" 221 TMPDIR = "${TOPDIR}/tmp"
222 CACHE = "${TMPDIR}/cache" 222 CACHE = "${TMPDIR}/cache"