]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: Simplify FILESPATH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Nov 2012 21:59:51 +0000 (21:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Nov 2012 10:00:27 +0000 (10:00 +0000)
commit3efa13cd76bbd5611805021945fc9def88d9fd93
tree947476dfcdb2d15317b34cbde81e9bc874ad9f1f
parent3bb5c6bd51c91ada7fc17451627b8954dbe9c09c
bitbake.conf: Simplify FILESPATH

Files are very rarely, if ever placed in ${PF}. If a recipe needs to do this,
it can easily append to FILESPATH so it makes sense to drop this from the
default search path.

Equally, using FILE_DIR as part of the search path leads to 'bad' SRC_URI
entries and/or file layouts which are not preferred. I'm therefore of the
opinion we should also remove this from FILESPATH and encourage people to
cleanup any places this breaks my correcting the layouts to match the standard
or worst case adding to FILESPATH in recipes that need it.

These changes work towards making the system more friendly as users won't be
greeted with huge search paths we rearely use making the "correct" layout
more obvious.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass