On 02/20/2011 11:23 AM, Chris Tapp wrote:
On 20 Feb 2011, at 18:04, Gary Thomas wrote:

You'll need a meta-new/packages/netbase/netbase_4.44.bbappend file which
tells bitbake where to find your override files. I do this all the time,
for example, I have a board with two targets:
$ tree meta-ppc/packages/netbase/
meta-ppc/packages/netbase/
├── netbase-4.44
│ ├── cobra
│ │ ├── interfaces
│ └── ppc8379
│ ├── interfaces
└── netbase_4.44.bbappend
$ cat meta-ppc/packages/netbase/netbase_4.44.bbappend
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}-${PV}"], d)}:"

Thanks. I was just looking at .bbappend when your message arrived ;-)

Section 4.8 of the Poky Reference Manual shows an even easier way of doing what 
I need. All the .bbappend has is:

FILESEXTRAPATHS := "${THISDIR}/${PN}"

That would be great (if it works).  My recipes are based on examples
which were available when the .bbappend and layers were first introduced.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to