summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/distutils3.bbclass20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass
index 05a24bfe26..c70c46df86 100644
--- a/meta/classes/distutils3.bbclass
+++ b/meta/classes/distutils3.bbclass
@@ -2,9 +2,6 @@ inherit distutils3-base
2 2
3DISTUTILS_BUILD_ARGS ?= "" 3DISTUTILS_BUILD_ARGS ?= ""
4DISTUTILS_BUILD_EXT_ARGS ?= "" 4DISTUTILS_BUILD_EXT_ARGS ?= ""
5DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
6DISTUTILS_STAGE_ALL_ARGS ?= "--prefix=${STAGING_DIR_HOST}${prefix} \
7 --install-data=${STAGING_DATADIR}"
8DISTUTILS_INSTALL_ARGS ?= "--root=${D} \ 5DISTUTILS_INSTALL_ARGS ?= "--root=${D} \
9 --prefix=${prefix} \ 6 --prefix=${prefix} \
10 --install-lib=${PYTHON_SITEPACKAGES_DIR} \ 7 --install-lib=${PYTHON_SITEPACKAGES_DIR} \
@@ -30,23 +27,6 @@ distutils3_do_compile() {
30} 27}
31distutils3_do_compile[vardepsexclude] = "MACHINE" 28distutils3_do_compile[vardepsexclude] = "MACHINE"
32 29
33distutils3_stage_headers() {
34 install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
35 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
36 bbfatal_log "'${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS}' execution for stage_headers failed."
37}
38distutils3_stage_headers[vardepsexclude] = "MACHINE"
39
40distutils3_stage_all() {
41 STAGING_INCDIR=${STAGING_INCDIR} \
42 STAGING_LIBDIR=${STAGING_LIBDIR} \
43 install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
44 PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
45 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
46 bbfatal_log "'${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS}' execution for stage_all failed."
47}
48distutils3_stage_all[vardepsexclude] = "MACHINE"
49
50distutils3_do_install() { 30distutils3_do_install() {
51 install -d ${D}${PYTHON_SITEPACKAGES_DIR} 31 install -d ${D}${PYTHON_SITEPACKAGES_DIR}
52 STAGING_INCDIR=${STAGING_INCDIR} \ 32 STAGING_INCDIR=${STAGING_INCDIR} \