Bug 285

Summary: Improve overlay appending to FILESPATH syntax
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Richard Purdie <richard.purdie>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 1.0 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Richard Purdie 2010-09-07 14:57:17 UTC
Find a nicer way to add the current directory fo FILESPATH in overlays instead of this ugly python:

THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
Comment 1 Richard Purdie 2010-10-14 14:10:15 UTC
Done in http://git.pokylinux.org/cgit.cgi/poky/commit/meta/classes/base.bbclass?id=904ae4a7531d6cb8b2cfefb7da8901b21a65ae7b

so the simpler syntax is:

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