[oe-commits] org.oe.dev distutils-base.bbclass:
mickeyl commit
openembedded-commits at lists.openembedded.org
Thu Jun 14 07:25:47 UTC 2007
distutils-base.bbclass:
* add support for python 2.5
* catch more .debug files
Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: d9a7dd0081361f783c4c47de77596d085c151416
ViewMTN: http://monotone.openembedded.org/revision.psp?id=d9a7dd0081361f783c4c47de77596d085c151416
Files:
1
classes/distutils-base.bbclass
Diffs:
#
# mt diff -rb8394da4a611ce12770ca02a39d66006db0411e0 -rd9a7dd0081361f783c4c47de77596d085c151416
#
#
#
# patch "classes/distutils-base.bbclass"
# from [b364ca2373d289e29124e1ef75dd7d98f49b53dc]
# to [4e0368c5b9b481f0f768b37c7e8fa98251e71e48]
#
============================================================
--- classes/distutils-base.bbclass b364ca2373d289e29124e1ef75dd7d98f49b53dc
+++ classes/distutils-base.bbclass 4e0368c5b9b481f0f768b37c7e8fa98251e71e48
@@ -7,9 +7,11 @@ def python_dir(d):
staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 )
if os.path.exists( "%s/python2.3" % staging_incdir ): return "python2.3"
if os.path.exists( "%s/python2.4" % staging_incdir ): return "python2.4"
+ if os.path.exists( "%s/python2.5" % staging_incdir ): return "python2.5"
raise "No Python in STAGING_INCDIR. Forgot to build python-native ?"
PYTHON_DIR = "${@python_dir(d)}"
-FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}"
-FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/${SRCNAME}/.debug"
+FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
+FILES_${PN}-dbg = "${libdir}/${PYTHON_DIR}/site-packages/${SRCNAME}/.debug \
+ ${libdir}/${PYTHON_DIR}/site-packages/.debug"
More information about the Openembedded-commits
mailing list