diff options
-rw-r--r-- | meta/classes/distutils3.bbclass | 20 |
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 | ||
3 | DISTUTILS_BUILD_ARGS ?= "" | 3 | DISTUTILS_BUILD_ARGS ?= "" |
4 | DISTUTILS_BUILD_EXT_ARGS ?= "" | 4 | DISTUTILS_BUILD_EXT_ARGS ?= "" |
5 | DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}" | ||
6 | DISTUTILS_STAGE_ALL_ARGS ?= "--prefix=${STAGING_DIR_HOST}${prefix} \ | ||
7 | --install-data=${STAGING_DATADIR}" | ||
8 | DISTUTILS_INSTALL_ARGS ?= "--root=${D} \ | 5 | DISTUTILS_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 | } |
31 | distutils3_do_compile[vardepsexclude] = "MACHINE" | 28 | distutils3_do_compile[vardepsexclude] = "MACHINE" |
32 | 29 | ||
33 | distutils3_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 | } | ||
38 | distutils3_stage_headers[vardepsexclude] = "MACHINE" | ||
39 | |||
40 | distutils3_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 | } | ||
48 | distutils3_stage_all[vardepsexclude] = "MACHINE" | ||
49 | |||
50 | distutils3_do_install() { | 30 | distutils3_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} \ |