Bug 285 - Improve overlay appending to FILESPATH syntax
Summary: Improve overlay appending to FILESPATH syntax
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 1.0 M1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-09-07 14:57 UTC by Richard Purdie
Modified: 2010-12-21 06:07 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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}"