summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/distutils.bbclass')
-rw-r--r--meta/classes/distutils.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index e7d48ab907..9862731493 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -21,13 +21,13 @@ distutils_do_compile() {
21 STAGING_INCDIR=${STAGING_INCDIR} \ 21 STAGING_INCDIR=${STAGING_INCDIR} \
22 STAGING_LIBDIR=${STAGING_LIBDIR} \ 22 STAGING_LIBDIR=${STAGING_LIBDIR} \
23 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS} || \ 23 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS} || \
24 bbfatal_log "${PYTHON_PN} setup.py build execution failed." 24 bbfatal_log "'${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS}' execution failed."
25} 25}
26 26
27distutils_stage_headers() { 27distutils_stage_headers() {
28 install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} 28 install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
29 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \ 29 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
30 bbfatal_log "${PYTHON_PN} setup.py install_headers execution failed." 30 bbfatal_log "'${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS}' execution for stage_headers failed."
31} 31}
32 32
33distutils_stage_all() { 33distutils_stage_all() {
@@ -36,7 +36,7 @@ distutils_stage_all() {
36 install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} 36 install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
37 PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \ 37 PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
38 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \ 38 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
39 bbfatal_log "${PYTHON_PN} setup.py install (stage) execution failed." 39 bbfatal_log "'${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS}' execution for stage_all failed."
40} 40}
41 41
42distutils_do_install() { 42distutils_do_install() {
@@ -45,7 +45,7 @@ distutils_do_install() {
45 STAGING_LIBDIR=${STAGING_LIBDIR} \ 45 STAGING_LIBDIR=${STAGING_LIBDIR} \
46 PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \ 46 PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \
47 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_INSTALL_ARGS} || \ 47 ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_INSTALL_ARGS} || \
48 bbfatal_log "${PYTHON_PN} setup.py install execution failed." 48 bbfatal_log "'${PYTHON_PN} setup.py install ${DISTUTILS_INSTALL_ARGS}' execution failed."
49 49
50 # support filenames with *spaces* 50 # support filenames with *spaces*
51 # only modify file if it contains path and recompile it 51 # only modify file if it contains path and recompile it