From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Tgktc-00060z-D4 for openembedded-core@lists.openembedded.org; Fri, 07 Dec 2012 00:30:24 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id qB6NFsc2001268; Thu, 6 Dec 2012 23:15:54 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01099-01; Thu, 6 Dec 2012 23:15:50 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id qB6NFiNX001262 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 6 Dec 2012 23:15:46 GMT Message-ID: <1354835735.12928.15.camel@ted> From: Richard Purdie To: "Robert P. J. Day" Date: Thu, 06 Dec 2012 23:15:35 +0000 In-Reply-To: References: X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Cc: OE Core mailing list Subject: Re: what exactly is the proper way to use FILESEXTRAPATHS? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 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: Thu, 06 Dec 2012 23:30:24 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2012-12-06 at 15:27 -0500, Robert P. J. Day wrote: > continuing my trek through coding pedantry and was wondering about > the exact purpose of the common line in .bbappend files: > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > or some slight variation thereof. > > i *thought* i knew what it did, so i did a small experiment with the > meta-ti layer and netbase (since i was already messing around with > it), and i replaced the contents of the netbase .bbappend file with > the single line: > > FILESEXTRAPATHS_prepend := "rday" > > and checked the environment for the value of FILESPATH for the netbase > recipe and, after formatting to read it clearly, what i saw was: > > FILESPATH="rday/linux-gnueabi > rday/arm > rday/build-linux > rday/pn-netbase > rday/beagleboard > rday/omap3 > rday/armv7a > rday/ > rday/class-target > rday/forcevariable > rday/libc-glibc > rday/ > /home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/linux-gnueabi > /home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/arm > /home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/build-linux > /home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/pn-netbase > /home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/beagleboard > /home/rpjday/OE/dist/layers/oe-core/meta/recipes-core/netbase/netbase-5.0/omap3 > ... snip ... > > what the heck? if that's what FILESEXTRAPATHS is supposed to do, > that is definitely *not* how it's being used in many, many bbappend > files. > > is there an explanation somewhere as to what the above is supposed > to represent? What is puzzling about the above? Its doing what it was designed to do. The idea is to add the directory listed to the set of directories that get "autogenerated" from OVERRIDES as search locations. What did you expect it to do? FWIW there is no need to use := with FILESEXTRAPATHS, or prepend for that matter, just use +=/=+. Cheers, Richard