summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshua.lock@collabora.co.uk>2015-06-17 09:33:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-23 11:38:17 +0100
commitf6478e8c73f9cfb79d1f7680b7bf3ff957eb51cb (patch)
treead791ea3861d52bbe335df6b44d5aeefa7801291
parentf1be556005d18ac929d194df44322dfaeed54cc6 (diff)
downloadopenembedded-core-f6478e8c73f9cfb79d1f7680b7bf3ff957eb51cb.tar.gz
openembedded-core-f6478e8c73f9cfb79d1f7680b7bf3ff957eb51cb.tar.bz2
openembedded-core-f6478e8c73f9cfb79d1f7680b7bf3ff957eb51cb.zip
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} Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/distutils-common-base.bbclass2
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
PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
-FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
+FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"
FILES_${PN}-staticdev += "\
${PYTHON_SITEPACKAGES_DIR}/*.a \