From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mail.openembedded.org (Postfix) with ESMTP id BE8E260D74 for ; Tue, 19 Nov 2013 22:36:30 +0000 (UTC) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id rAJMaPJq029199; Tue, 19 Nov 2013 22:36:25 GMT 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 nBjWd2GjttWA; Tue, 19 Nov 2013 22:36:25 +0000 (GMT) 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 rAJMaMgV029193 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Tue, 19 Nov 2013 22:36:23 GMT Message-ID: <1384900579.16887.28.camel@ted> From: Richard Purdie To: Khem Raj Date: Tue, 19 Nov 2013 22:36:19 +0000 In-Reply-To: <5E5EE01A-4572-41FA-88DC-9F08DA17B040@gmail.com> References: <9f62e2e632692c5919a0de25a785d17d477a64b3.1381266484.git.bruce.ashfield@windriver.com> <20131119173725.GA13018@mcrowe.com> <1384883174.23724.116.camel@phil-desktop.brightsign> <5E5EE01A-4572-41FA-88DC-9F08DA17B040@gmail.com> X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Cc: Patches and discussions about the oe-core layer Subject: Re: [PATCH 1/1] kernel: restore scripts in the sysroot 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, 19 Nov 2013 22:36:32 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2013-11-19 at 14:29 -0800, Khem Raj wrote: > Well reproducer case is that build from sstate but such that an external module needs to be rebuilt > if external module also comes from sstate then it all is fine. Its only when everything is coming from > sstate except this external module which needs to be rebuilt then you see this problem. > > now, I see the code in module-base.class > > # > # Ensure the hostprogs are available for module compilation. Modules that > # inherit this recipe and override do_compile() should be sure to call > # do_make_scripts() or ensure the scripts are built independently. > # > do_make_scripts() { > unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS > make CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \ > -C ${STAGING_KERNEL_DIR} scripts > } > > so it expects that, do_make_scripts is explicitly called by external module recipes > > and my recipes did override module_do_compile task but not do_compile like below > > module_do_compile() { > oe_runmake > } > > so, is comment wrong there should it say module_do_compile instead ? > > will it work with sstate always ? > > it will be OK to revert it if thats the case. Did you inherit module-base or module? I think the wording applies to module and not module-base. I think the function used to be in module and was moved along with the comment which is now incorrect. Cheers, Richard