From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 6BD6B7231B for ; Tue, 20 Jan 2015 23:45:30 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id t0KNjSW2002238 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 20 Jan 2015 15:45:28 -0800 (PST) Received: from [128.224.162.174] (128.224.162.174) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.174.1; Tue, 20 Jan 2015 15:45:27 -0800 Message-ID: <54BEE896.3010203@windriver.com> Date: Wed, 21 Jan 2015 07:45:26 +0800 From: Robert Yang User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: "Burton, Ross" , Bruce Ashfield References: In-Reply-To: Cc: Patches and discussions about the oe-core layer Subject: Re: [PATCH 4/4] perf: fix for rebuilding X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2015 23:45:37 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit On 01/21/2015 01:00 AM, Burton, Ross wrote: > > On 20 January 2015 at 16:01, Bruce Ashfield > wrote: > > The kernel source is no longer in this location .. so at a minimum the header > needs to be updated to log the work-shared directory .. and better, make sure > that this is still happening with the latest master changes. > > > As I understand it the bug is stale .d files being used to add dependencies, > which refer to stale paths instead of being re-generated. This is why we > encourage S!=B with deletion of B when starting builds. Updated in the repo: git://git.openembedded.org/openembedded-core-contrib rbt/4fixes diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index bd57c6c..6925eb2 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb @@ -115,6 +115,10 @@ do_install() { } do_configure_prepend () { + # Fix for rebuilding + rm -rf ${B}/ + mkdir ${B}/ + #kernels before 3.1 do not support WERROR env variable sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile if [ -e "${S}/tools/perf/config/Makefile" ]; then // Robert > > Ross