diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-19 22:17:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-26 10:00:27 +0000 |
commit | fb359583b659cda643973fa285002aaffb729a51 (patch) | |
tree | ec966812b9dff4fb01062182f081f9e39f5d8e54 /meta/classes/base.bbclass | |
parent | 3efa13cd76bbd5611805021945fc9def88d9fd93 (diff) | |
download | openembedded-core-fb359583b659cda643973fa285002aaffb729a51.tar.gz openembedded-core-fb359583b659cda643973fa285002aaffb729a51.tar.bz2 openembedded-core-fb359583b659cda643973fa285002aaffb729a51.zip |
base.bbclass: Drop P and PN from FILESPATH
In the interests of simplifying things, remove P and PN from FILESPATH,
instead relying on the BP and BPN versions which work in 99% of cases.
In any problematic case such as a -native only recipe, either the patch
directory can be renamed or the recipe can set FILESPATH specifically.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 6037f90f4b..0ee9d2e710 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -80,7 +80,7 @@ BASEDEPENDS = "${@base_dep_prepend(d)}" DEPENDS_prepend="${BASEDEPENDS} " -FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" +FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" # THISDIR only works properly with imediate expansion as it has to run # in the context of the location its used (:=) THISDIR = "${@os.path.dirname(d.getVar('FILE', True))}" |