mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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>
25 lines
524 B
Plaintext
25 lines
524 B
Plaintext
inherit python-dir
|
|
|
|
EXTRA_OEMAKE = ""
|
|
|
|
export STAGING_INCDIR
|
|
export STAGING_LIBDIR
|
|
|
|
PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
|
|
|
|
FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"
|
|
|
|
FILES_${PN}-staticdev += "\
|
|
${PYTHON_SITEPACKAGES_DIR}/*.a \
|
|
"
|
|
FILES_${PN}-dev += "\
|
|
${datadir}/pkgconfig \
|
|
${libdir}/pkgconfig \
|
|
${PYTHON_SITEPACKAGES_DIR}/*.la \
|
|
"
|
|
FILES_${PN}-dbg += "\
|
|
${PYTHON_SITEPACKAGES_DIR}/.debug \
|
|
${PYTHON_SITEPACKAGES_DIR}/*/.debug \
|
|
${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \
|
|
"
|