distutils-base.bbclass: Move common functionality to distutils-common-base.bbclass
authorKhem Raj <raj.khem@gmail.com>
Tue, 24 Mar 2009 21:01:30 +0000 (14:01 -0700)
committerKhem Raj <raj.khem@gmail.com>
Tue, 24 Mar 2009 21:01:30 +0000 (14:01 -0700)
commit0faff8720150863ff38132f87ef65721fcb86dc1
tree476c4a2a832da00b87aed99f8c0d4d72c845efcd
parentaf33616e7ede94c06a866ef7e886e65426b088ec
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
classes/distutils-common-base.bbclass [new file with mode: 0644]
classes/distutils-native-base.bbclass [new file with mode: 0644]
recipes/libxml/libxml2-native.inc
recipes/rpm/rpm-4.4.2.3.inc [new file with mode: 0644]
recipes/rpm/rpm-native_4.4.2.3.bb
recipes/rpm/rpm_4.4.2.3.bb
recipes/zope/zope-3.3.1.inc [new file with mode: 0644]
recipes/zope/zope-native_3.3.1.bb
recipes/zope/zope_3.3.1.bb