[oe] bbappend

Paul Eggleton paul.eggleton at linux.intel.com
Tue Jul 12 09:42:53 UTC 2011


On Tuesday 12 July 2011 09:58:01 Jaap de Jong wrote:
> I need some help concerning bbappend.
> I've created a bbappend file:
> 
>     FILESEXTRAPATHS := "${THISDIR}/files"
>     SRC_URI += "file://xyzzy.patch"
> 
> If I run a bitbake it complains about missing ..../xyzzy.patch
> When I change the bbappend file to this:
> 
>     SRC_URI += "file:///absolute-path-to-the-file/files/xyzzy.patch"

FILESEXTRAPATHS is only available in oe-core. For classic OE you need to use 
something like:

THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATHBASE_prepend := "${THISDIR}/files:"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-devel mailing list