From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 12CB0E003FA; Fri, 18 Jul 2014 08:44: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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.94.94.40 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F30C3E00342 for ; Fri, 18 Jul 2014 08:44:16 -0700 (PDT) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s6IFi9Gj018367; Fri, 18 Jul 2014 10:44:09 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6IFi97S014236; Fri, 18 Jul 2014 10:44:09 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 18 Jul 2014 10:44:08 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s6IFi8Sh012292; Fri, 18 Jul 2014 10:44:08 -0500 Date: Fri, 18 Jul 2014 11:44:08 -0400 From: Denys Dmytriyenko To: "Maupin, Chase" Message-ID: <20140718154408.GG15788@edge> References: <7D46E86EC0A8354091174257B2FED1015D15411B@DLEE11.ent.ti.com> MIME-Version: 1.0 In-Reply-To: <7D46E86EC0A8354091174257B2FED1015D15411B@DLEE11.ent.ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-ti mailing list Subject: Re: curious about libdrm-2.4.41 recipe from meta-ti layer X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 15:44:19 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Fri, Jul 18, 2014 at 03:30:57PM +0000, Maupin, Chase wrote: > >-----Original Message----- > >From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti- > >bounces@yoctoproject.org] On Behalf Of Robert P. J. Day > >Sent: Friday, July 18, 2014 6:47 AM > >To: meta-ti mailing list > >Subject: [meta-ti] curious about libdrm-2.4.41 recipe from meta-ti > >layer > > > > > > i was perusing a number of yocto layers looking for cool > >examples to > >use in an upcoming class and ran across this oddity in the meta-ti > >layer: > > > >recipes-graphics/drm/libdrm_2.4.41.bb: > > FILESEXTRAPATHS_append := ":${COREBASE}/meta/recipes- > >graphics/drm/libdrm" > > > > in all of the layers i've looked at, that is the only example of > >*appending* to FILESEXTRAPATHS i've ever seen, so i thought i'd > >look > >closer to see what was going on. > > > > even though oe-core defines a libdrm recipe file, the meta-ti > >layer > >doesn't use a bbappend for its version. rather, it explicitly adds > >the > >libdrm/ directory from oe-core using a reference to ${COREBASE}, > >then > >adds its own files. that's valid, i guess, it just looks weird and > >is > >the only time i've ever seen that. > > The recipe also defines using a TI version of libdrm (I don't like that but > it is what we have been given from the component team doing this). So the > intent here is to: > > 1. Define a libdrm that uses the TI modified sources. > 2. Use the recipe only for the omap-a15 devices and make that an explicit > setting by setting default preference to -1. > > This wasn't done as an append because we wanted this only for omap-a15 > devices when explicitely set as the preferred version to use and not impact > other devices using the later version from oe-core. > > As for the reference to COREBASE it is to pick up the > GNU_SOURCE_definition.patch file rather than overlaying that as well. Heh, if I knew you were already replying to this, I would have avoided duplicating the effort... > > i'm also puzzled that the meta-ti recipe sets: > > > >DEFAULT_PREFERENCE = "-1" > > > >what's that for? given that the oe-core layer already defines a > >recipe for libdrm that has a higher version number, why would the > >above line be necessary? > > > > just trying to understand the rationale behind this unusual > >construction. > > > >rday > > > >-- > > > >================================================================== > >====== > >Robert P. J. Day Ottawa, Ontario, > >CANADA > > http://crashcourse.ca > > > >Twitter: > >http://twitter.com/rpjday > >LinkedIn: > >http://ca.linkedin.com/in/rpjday > >================================================================== > >====== > > > >-- > >_______________________________________________ > >meta-ti mailing list > >meta-ti@yoctoproject.org > >https://lists.yoctoproject.org/listinfo/meta-ti > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti