[meta-ti] puzzled by FILESPATH setting in tipspkernel.inc
Denys Dmytriyenko
denys at ti.com
Mon Nov 11 11:50:57 PST 2013
On Sun, Nov 10, 2013 at 12:47:24PM -0500, Robert P. J. Day wrote:
>
> poking around some of the kernel recipes in the meta-ti layer and
> i'm a bit baffled by the following in
> meta-ti/recipes-kernel/linux/tipspkernel.inc:
>
> # First of all, set own FILESPATH avoiding unnecessary BP and BPN, but adding
> # extra level of major version
> FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}-${PMV}", \
> "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}"
>
> i understand the mechanics of how the above works, but i'm not sure
> about that very last element in array: ${FILE_DIRNAME}, all by itself.
> is that deliberate? that is, not having any extra level such as ${PF}
> or ${P} or "files"? isn't that suggesting that files can be located in
> the main directory itself? which doesn't seem to be necessary.
That used to be the case before, but had changed a year ago:
http://cgit.openembedded.org/openembedded-core/commit/?id=3efa13cd76bbd5611805021945fc9def88d9fd93
Anyway, tipspkernel.inc is a deprecated feature and its use is discouraged
now. It remains present for some old kernel recipes to work.
--
Denys
More information about the meta-ti
mailing list