[oe-commits] Khem Raj : distutils-base.bbclass: Move common functionality to distutils-common-base.bbclass
GIT User account
git at amethyst.openembedded.net
Tue Mar 24 21:10:04 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0faff8720150863ff38132f87ef65721fcb86dc1
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0faff8720150863ff38132f87ef65721fcb86dc1
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue Mar 24 14:01:30 2009 -0700
distutils-base.bbclass: Move common functionality to distutils-common-base.bbclass
Create a new class distutils-common-base.bbclass which holds the common
parts that can be used in native and target packages which need to use
distutils funtionality.
rpm, libxml2, zope are currently using them and needed to use
distutils-native-base for native recipes.
rpm and libxml need to defer the processing of certain configure
parameters which we evaluate using python. So we need to have python-native
built before we can process them. Hence we can not use EXTRA_OECONF
which is a python variable and gets expanded during parsing recipes
and ofcourse we have not yet built python-native.
We pass these extra options as a separate shell variable to do_configure
which we evaluate when that task is executing.
---
classes/distutils-base.bbclass | 26 +--------
classes/distutils-common-base.bbclass | 27 +++++++++
classes/distutils-native-base.bbclass | 3 +
recipes/libxml/libxml2-native.inc | 8 ++-
recipes/rpm/rpm-4.4.2.3.inc | 96 +++++++++++++++++++++++++++++++
recipes/rpm/rpm-native_4.4.2.3.bb | 5 +-
recipes/rpm/rpm_4.4.2.3.bb | 100 +--------------------------------
recipes/zope/zope-3.3.1.inc | 45 +++++++++++++++
recipes/zope/zope-native_3.3.1.bb | 7 +--
recipes/zope/zope_3.3.1.bb | 48 +---------------
10 files changed, 188 insertions(+), 177 deletions(-)
Diff: http://gitweb.openembedded.net/?p=openembedded.git/?a=commitdiff;h=0faff8720150863ff38132f87ef65721fcb86dc1
More information about the Openembedded-commits
mailing list