From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1T1eLA-00006J-1j for bitbake-devel@lists.openembedded.org; Wed, 15 Aug 2012 16:12:56 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q7FE0wh9001806; Wed, 15 Aug 2012 15:00:58 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00388-08; Wed, 15 Aug 2012 15:00:54 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q7FE0mqn001800 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 15 Aug 2012 15:00:49 +0100 Message-ID: <1345039247.538.23.camel@ted> From: Richard Purdie To: Robert Yang Date: Wed, 15 Aug 2012 15:00:47 +0100 In-Reply-To: <502BA8F2.9070606@windriver.com> References: <86c6fef246be4e70f22d24754abbc920470d5997.1344564039.git.liezhi.yang@windriver.com> <1345038156.538.15.camel@ted> <502BA8F2.9070606@windriver.com> X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Cc: Chris, Larson , bitbake-devel@lists.openembedded.org, Zhenfeng.Zhao@windriver.com Subject: Re: [PATCH 1/1] bitbake.conf: add BB_STAMPS_DIR for constructing STAMP X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 14:12:56 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2012-08-15 at 21:49 +0800, Robert Yang wrote: > > On 08/15/2012 09:42 PM, Richard Purdie wrote: > > On Fri, 2012-08-10 at 10:02 +0800, Robert Yang wrote: > >> Add BB_STAMPS_DIR for constructing STAMP, the defination of STAMP > >> before: > >> > >> STAMP = "${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PF} > >> > >> We can only change the TMPDIR if we want to change the STAMP's location, > >> but the cache would be regenerated if TMPDIR changed, so add > >> BB_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: > >> > >> BB_STAMPS_DIR= bitbake -S > >> > >> which will avoid putting the stamps to ${TMPDIR}/stamps. > >> > >> BTW, break the too long BB_ENV_EXTRAWHITE into several lines. > >> > >> [YOCTO #1659] > >> > >> Signed-off-by: Robert Yang > >> --- > >> meta/conf/bitbake.conf | 3 ++- > >> scripts/oe-buildenv-internal | 5 ++++- > >> 2 files changed, 6 insertions(+), 2 deletions(-) > > > > BB_ is a prefix for variables bitbake specifically uses for > > configuration. It doesn't fit in this context since its metadata defined > > and doesn't actually influence or is used by bitbake itself. > > > > We therefore need to use a different name for this. > > > > Thanks, how about "STAMPS_DIR" ? And can we put the bitbake-whatchanged > to bitbake/bin or bitbake/contrib as Chris Larson worried about ? He's right, it depends on the metadata and therefore shouldn't really be in bitbake. It could go into scripts/ in oe-core. Cheers, Richard