[oe-commits] Joshua Lock : distutils-common-base: add to, don't set, FILES_${PN}

git at git.openembedded.org git at git.openembedded.org
Sun Jun 28 08:46:41 UTC 2015


Module: openembedded-core.git
Branch: fido
Commit: 3e5ecb970eec3ba3199d2fc2a336d310f072594c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3e5ecb970eec3ba3199d2fc2a336d310f072594c

Author: Joshua Lock <joshua.lock at collabora.co.uk>
Date:   Wed Jun 17 09:33:18 2015 +0100

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 at collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/distutils-common-base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
index 9a608eb..427275b 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 \



More information about the Openembedded-commits mailing list