From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay1.mentorg.com ([192.94.38.131]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QZmcL-0007LB-Qx for openembedded-core@lists.openembedded.org; Thu, 23 Jun 2011 18:19:00 +0200 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1QZmYq-00043u-M2 from Tom_Rini@mentor.com for openembedded-core@lists.openembedded.org; Thu, 23 Jun 2011 09:15:20 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 23 Jun 2011 09:09:56 -0700 Received: from [172.30.80.156] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Thu, 23 Jun 2011 09:15:19 -0700 Message-ID: <4E036696.1010905@mentor.com> Date: Thu, 23 Jun 2011 09:15:18 -0700 From: Tom Rini Organization: Mentor Graphics Corporation User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: References: <4E0286CD.50700@mentor.com> <1308842954.20015.126.camel@rex> In-Reply-To: <1308842954.20015.126.camel@rex> X-Enigmail-Version: 1.1.1 X-OriginalArrivalTime: 23 Jun 2011 16:09:56.0907 (UTC) FILETIME=[FEBAC7B0:01CC31BF] Subject: Re: sstate skips STAGING_DIR_KERNEL? 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: Thu, 23 Jun 2011 16:19:00 -0000 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit On 06/23/2011 08:29 AM, Richard Purdie wrote: > On Wed, 2011-06-22 at 17:20 -0700, Tom Rini wrote: >> As part of looking into the problem I had that I just posted a patch for >> I was going "why isn't -c clean (or cleanall or cleansstate) knocking >> out STAGING_DIR_KERNEL contents? Answer, sstate is totally skipping >> that out. Is there some variable we need to be setting somewhere to add >> this in? Or are we going to have to take in the various bits of OE.dev >> kernel.bbclass instead here? > > I think there is a bug in kernel.bbclass. This should fix it: > > diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass > index aaf341b..9f09107 100644 > --- a/meta/classes/kernel.bbclass > +++ b/meta/classes/kernel.bbclass > @@ -119,7 +119,7 @@ kernel_do_install() { > # Support for external module building - create a minimal copy of the > # kernel source tree. > # > - kerneldir=${STAGING_KERNEL_DIR} > + kerneldir=${D}/kernel > install -d $kerneldir > > # > > I'll merge something like this is nobody objects. That makes sense, testing this now. -- Tom Rini Mentor Graphics Corporation