From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from astoria.ccjclearline.com (astoria.ccjclearline.com [64.235.106.9]) by mail.openembedded.org (Postfix) with ESMTP id 262B36FE5C for ; Sat, 12 Jul 2014 20:25:44 +0000 (UTC) Received: from [99.240.204.5] (port=58156 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1X63ra-0002qy-8d for openembedded-devel@lists.openembedded.org; Sat, 12 Jul 2014 16:25:42 -0400 Date: Sat, 12 Jul 2014 16:25:38 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost To: Openembedded Discussion In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Subject: Re: is it "addtask do_X ..." or "addtask X ..." or does it matter? X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2014 20:25:46 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 12 Jul 2014, Christopher Larson wrote: > On Sat, Jul 12, 2014 at 4:22 AM, Robert P. J. Day > wrote: > > > want to clarify the two different ways to use addtask. for example: > > > > classes/kernel.bbclass:addtask savedefconfig after do_configure > > classes/kernel.bbclass:addtask do_strip before do_sizecheck after > > do_kernel_link_vmlinux > > classes/kernel.bbclass:addtask sizecheck before do_install after do_strip > > > > so what is the preferred form? are they equivalent? > > > > addtask do_strip will add a task named 'do_do_strip', afaik. well, there is definitely some of that happening in the oe-core codebase, feel free to: $ grep -r "addtask do_" * so i'm not sure what to make of that. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================