All of lore.kernel.org
 help / color / mirror / Atom feed
* puzzled by FILESPATH setting in tipspkernel.inc
@ 2013-11-10 17:47 Robert P. J. Day
  2013-11-11 19:50 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2013-11-10 17:47 UTC (permalink / raw)
  To: meta-ti mailing list


  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.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: puzzled by FILESPATH setting in tipspkernel.inc
  2013-11-10 17:47 puzzled by FILESPATH setting in tipspkernel.inc Robert P. J. Day
@ 2013-11-11 19:50 ` Denys Dmytriyenko
  0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2013-11-11 19:50 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: meta-ti mailing list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-11 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-10 17:47 puzzled by FILESPATH setting in tipspkernel.inc Robert P. J. Day
2013-11-11 19:50 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.