mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 03:47:03 +00:00
dev-manual: replace WORKDIR with UNPACKDIR where appropriate
(From yocto-docs rev: 25ea8e2a0428b6cb66402283e64144d5ce61daf6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f4447244f5
commit
1180a5b591
@@ -18,11 +18,10 @@ build packages is available in the :term:`Build Directory` as defined by the
|
||||
defined in the ``meta/conf/bitbake.conf`` configuration file in the
|
||||
:term:`Source Directory`::
|
||||
|
||||
S = "${WORKDIR}/${BP}"
|
||||
S = "${UNPACKDIR}/${BP}"
|
||||
|
||||
You should be aware that many recipes override the
|
||||
:term:`S` variable. For example, recipes that fetch their source from Git
|
||||
usually set :term:`S` to ``${WORKDIR}/git``.
|
||||
:term:`S` variable when the default isn't accurate.
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -31,8 +30,16 @@ usually set :term:`S` to ``${WORKDIR}/git``.
|
||||
|
||||
BP = "${BPN}-${PV}"
|
||||
|
||||
This matches the location that the git fetcher unpacks to, and usually
|
||||
matches unpacked content of release tarballs (e.g. they contain a single
|
||||
directory which matches value of ${BP} exactly).
|
||||
|
||||
The path to the work directory for the recipe
|
||||
The path to the unpack directory for the recipe
|
||||
(:term:`UNPACKDIR`) is defined as follows::
|
||||
|
||||
${WORKDIR}/sources
|
||||
|
||||
In turn, the path to the work directory for the recipe
|
||||
(:term:`WORKDIR`) is defined as
|
||||
follows::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user