diff options
author | Joshua Lock <joshua.lock@collabora.co.uk> | 2015-06-17 09:33:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:47:39 +0100 |
commit | 5f0dfecd537e2df72123b14bb6f4633c2f53e696 (patch) | |
tree | 6c1ce730d612625f594fbdae3fd4ad76a95dcfaf /meta/classes/distutils-common-base.bbclass | |
parent | bfa8ae9a187ad7a39ec7cac1e9798f1a8f19fc44 (diff) | |
download | poky-5f0dfecd537e2df72123b14bb6f4633c2f53e696.tar.gz |
distutils-common-base: add to, don't set, FILES_${PN}
If we set FILES_${PN} and a recipe inherits other classes that
modify FILES_${PN} *before* distutils-common-base is included, any
changes to FILES_${PN} made by those classes are lost.
Instead, append the additional directories we want to include in
FILES_${PN}
(From OE-Core rev: f6478e8c73f9cfb79d1f7680b7bf3ff957eb51cb)
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/distutils-common-base.bbclass')
-rw-r--r-- | meta/classes/distutils-common-base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass index 9a608eb63e..427275b406 100644 --- a/meta/classes/distutils-common-base.bbclass +++ b/meta/classes/distutils-common-base.bbclass | |||
@@ -7,7 +7,7 @@ export STAGING_LIBDIR | |||
7 | 7 | ||
8 | PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}" | 8 | PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}" |
9 | 9 | ||
10 | FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*" | 10 | FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" |
11 | 11 | ||
12 | FILES_${PN}-staticdev += "\ | 12 | FILES_${PN}-staticdev += "\ |
13 | ${PYTHON_SITEPACKAGES_DIR}/*.a \ | 13 | ${PYTHON_SITEPACKAGES_DIR}/*.a \ |