diff options
author | Ross Burton <ross.burton@intel.com> | 2019-12-10 13:37:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:41 +0000 |
commit | 062430b729a4743e3472750c44630999e82dc7c6 (patch) | |
tree | 93e1efe391aae97f068607ef8a815686615e272a /meta/classes/distutils3.bbclass | |
parent | 147c991ddaf9dd4a08392818e8aeb2d4a0e7e510 (diff) | |
download | poky-062430b729a4743e3472750c44630999e82dc7c6.tar.gz |
distutils3: remove unused stage tasks
These staging tasks haven't been used since ~2010, so remove them.
(From OE-Core rev: d0eba7ccf54101e708ea50afb072f1bd2cf8fb6d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/distutils3.bbclass')
-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} \ |