[oe-commits] org.oe.dev distutils.bbclass: allow specifying arguments to the build command

mickeyl commit oe at amethyst.openembedded.net
Mon Sep 1 18:02:25 UTC 2008


distutils.bbclass: allow specifying arguments to the build command

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: a730d13ad30d0565b6b3304e5c7f2c19059c0148
ViewMTN: http://monotone.openembedded.org/revision/info/a730d13ad30d0565b6b3304e5c7f2c19059c0148
Files:
1
classes/distutils.bbclass
Diffs:

#
# mt diff -ra89efeac6f3577a30d97ef33070dd0c119127aae -ra730d13ad30d0565b6b3304e5c7f2c19059c0148
#
#
#
# patch "classes/distutils.bbclass"
#  from [49bfc630952f23c8efac7ba9a7aaeafae466b739]
#    to [3a7b70a7f2c911fadfaa077b484c0708dfb2e1bb]
#
============================================================
--- classes/distutils.bbclass	49bfc630952f23c8efac7ba9a7aaeafae466b739
+++ classes/distutils.bbclass	3a7b70a7f2c911fadfaa077b484c0708dfb2e1bb
@@ -1,5 +1,6 @@ inherit distutils-base
 inherit distutils-base
 
+DISTUTILS_BUILD_ARGS ?= ""
 DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
 DISTUTILS_STAGE_ALL_ARGS ?= "--prefix=${STAGING_DIR_HOST}${layout_prefix} \
     --install-data=${STAGING_DATADIR}"
@@ -8,7 +9,7 @@ distutils_do_compile() {
 
 distutils_do_compile() {
          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-         ${STAGING_BINDIR_NATIVE}/python setup.py build || \
+         ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
          oefatal "python setup.py build_ext execution failed."
 }
 






More information about the Openembedded-commits mailing list