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}"

Chris

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to