bitbake.conf: add STAMPS_DIR for constructing STAMP
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 29 Jan 2013 13:16:28 +0000 (21:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Mar 2013 11:14:37 +0000 (11:14 +0000)
commit408384f252eb4da53e7aa533b0240e4bfc65eb1c
treebf37aba5297875d4058b4819fa09e8eab0463371
parent62e79d5f11e059d3246dcb4d622d38f77792b7bd
bitbake.conf: add STAMPS_DIR for constructing STAMP

Add STAMPS_DIR for constructing STAMP, the defination of STAMP is:

STAMP = "${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}"

We can only change the TMPDIR if we want to change the STAMP's location,
but the bb_cache.dat would be regenerated if TMPDIR changes, so add
STAMPS_DIR for constructing it, and add it to the BB_ENV_EXTRAWHITE,
this is very usefull for the "bitbake -S", since then it can be run by:

STAMPS_DIR=<path> bitbake -S <recipe>

which will avoid putting the stamps to ${TMPDIR}/stamps.

BTW, break the too long BB_ENV_EXTRAWHITE into several lines.

[YOCTO #1659]

(From OE-Core rev: ce732c04b3ac06633e20efa8799c4189abfd41b3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf
scripts/oe-buildenv-internal