summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils-common-base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/distutils-common-base.bbclass')
-rw-r--r--meta/classes/distutils-common-base.bbclass24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
new file mode 100644
index 0000000..9a608eb
--- /dev/null
+++ b/meta/classes/distutils-common-base.bbclass
@@ -0,0 +1,24 @@
1inherit python-dir
2
3EXTRA_OEMAKE = ""
4
5export STAGING_INCDIR
6export STAGING_LIBDIR
7
8PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
9
10FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
11
12FILES_${PN}-staticdev += "\
13 ${PYTHON_SITEPACKAGES_DIR}/*.a \
14"
15FILES_${PN}-dev += "\
16 ${datadir}/pkgconfig \
17 ${libdir}/pkgconfig \
18 ${PYTHON_SITEPACKAGES_DIR}/*.la \
19"
20FILES_${PN}-dbg += "\
21 ${PYTHON_SITEPACKAGES_DIR}/.debug \
22 ${PYTHON_SITEPACKAGES_DIR}/*/.debug \
23 ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \
24"