[oe-commits] org.oe.dev classes/distutils.bbclass: add a staging task (to be called explicitly)

mickeyl commit openembedded-commits at lists.openembedded.org
Mon Aug 20 20:05:28 UTC 2007


classes/distutils.bbclass: add a staging task (to be called explicitly)

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 75a70f9897a04de9af91fe2db08d5c32e208fb5f
ViewMTN: http://monotone.openembedded.org/revision.psp?id=75a70f9897a04de9af91fe2db08d5c32e208fb5f
Files:
1
classes/distutils.bbclass
Diffs:

#
# mt diff -rb091298f5a7429063b7fc43393d70a224e4a5d99 -r75a70f9897a04de9af91fe2db08d5c32e208fb5f
#
# 
# 
# patch "classes/distutils.bbclass"
#  from [360816dccb4f857e2065ebda84f78fde86ff4b65]
#    to [b5fdf6a8a6b47377bbad57ef7d345783624e42be]
# 
============================================================
--- classes/distutils.bbclass	360816dccb4f857e2065ebda84f78fde86ff4b65
+++ classes/distutils.bbclass	b5fdf6a8a6b47377bbad57ef7d345783624e42be
@@ -9,9 +9,16 @@ distutils_stage_headers() {
 distutils_stage_headers() {
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
         ${STAGING_BINDIR_NATIVE}/python setup.py install_headers --install-dir=${STAGING_INCDIR}/${PYTHON_DIR} || \
-        oefatal "python setup.py install execution failed."
+        oefatal "python setup.py install_headers execution failed."
 }
 
+distutils_stage_all() {
+	PYTHONPATH=${STAGING_INCDIR}/../${PYTHON_DIR}/site-packages \
+        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${STAGING_INCDIR}/.. --install-data=${STAGING_INCDIR}/../share || \
+        oefatal "python setup.py install (stage) execution failed."
+}
+
 distutils_do_install() {
         install -d ${D}${libdir}/${PYTHON_DIR}/site-packages
         PYTHONPATH=${D}/${libdir}/${PYTHON_DIR}/site-packages \






More information about the Openembedded-commits mailing list