From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 37FACE007DC; Mon, 4 Aug 2014 03:24:19 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3B23DE007D3 for ; Mon, 4 Aug 2014 03:24:14 -0700 (PDT) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu4) with ESMTP id s74AO7p1017219; Mon, 4 Aug 2014 11:24:08 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21nSL0vcQcmC; Mon, 4 Aug 2014 11:24:07 +0100 (BST) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id s74AO2mC016971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 4 Aug 2014 11:24:04 +0100 Message-ID: <1407147842.6981.52.camel@ted> From: Richard Purdie To: "biannm@cn.fujitsu.com" Date: Mon, 04 Aug 2014 11:24:02 +0100 In-Reply-To: <30DC4EDFD798C94083F3E083754532CCC9AAA9@G08CNEXMBPEKD02.g08.fujitsu.local> References: <30DC4EDFD798C94083F3E083754532CCC9AAA9@G08CNEXMBPEKD02.g08.fujitsu.local> X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Cc: "poky@yoctoproject.org" Subject: Re: [Question]Does poky rebuild source when only makefile was modified X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion & patch submission for meta-yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 10:24:19 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2014-08-04 at 10:01 +0000, biannm@cn.fujitsu.com wrote: > Hi, > > Usually, if only makefile is modified, "make" will not rebuild source. > Does poky rebuild source in the following case. > > 1. build a recipe > 2. modify the bb file of this recipe, which will cause only makefile to be modified. > Ex. set a new path to libdir > 3. rebuild this recipe without doing cleansstate before This change to libdir would change the checksum of the configure task and the configure task would execute. Assuming this is an autotools recipe (where B != S is supported), it would wipe out ${B} due to the change and rebuild everything from the configure step onwards. Cheers, Richard