From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SoFAj-0004fM-VU for openembedded-core@lists.openembedded.org; Mon, 09 Jul 2012 16:42:46 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id q69EVZWt026710 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 9 Jul 2012 07:31:35 -0700 (PDT) Received: from Marks-MacBook-Pro.local (172.25.36.229) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Mon, 9 Jul 2012 07:31:35 -0700 Message-ID: <4FFAEB4F.3050806@windriver.com> Date: Mon, 9 Jul 2012 09:31:43 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: References: <1341834900.8066.9.camel@ted> <4FFAE7B7.1080804@gmail.com> <1341844076.8066.17.camel@ted> In-Reply-To: <1341844076.8066.17.camel@ted> Subject: Re: [PATCH] ccache: Ensure CCACHE_DIR is cleaned by do_clean task X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 14:42:46 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 7/9/12 9:27 AM, Richard Purdie wrote: > On Mon, 2012-07-09 at 07:16 -0700, Khem Raj wrote: >> On 7/9/2012 4:55 AM, Richard Purdie wrote: >>> This ensures a rebuild does really build from scratch when ccache >>> is in use. >>> >>> [YOCTO #2696] >>> >>> Signed-off-by: Richard Purdie >>> --- diff --git a/meta/classes/ccache.bbclass >>> b/meta/classes/ccache.bbclass index 5aa2da2..cd06a4b 100644 --- >>> a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ >>> -4,3 +4,5 @@ CCACHE_DISABLE[unexport] = "1" >>> >>> do_configure[dirs] =+ "${CCACHE_DIR}" do_kernel_configme[dirs] =+ >>> "${CCACHE_DIR}" + +do_clean[cleandirs] += "${CCACHE_DIR}" >>> >> >> so will this remove all contents of .ccache dir ? >> or just the package you are cleanall'ing > > Our default CCACHE_DIR defined above this has ${PN} in it so just the > package you are cleaning. I'm worried about what happens if someone changes the CCACHE_DIR to a single shared location. --Mark > Cheers, > > Richard > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >