On Tue, Jul 2, 2013 at 4:36 PM, Saul Wold <s...@linux.intel.com> wrote:
> On 06/26/2013 05:15 AM, Yevhen Kyriukha wrote: > >> --- >> meta/recipes-core/systemd/syst**emd_204.bb <http://systemd_204.bb> | >> 20 ++++++++++++++++---- >> 1 file changed, 16 insertions(+), 4 deletions(-) >> >> diff --git >> a/meta/recipes-core/systemd/sy**stemd_204.bb<http://systemd_204.bb>b/meta/recipes-core/systemd/ >> sy**stemd_204.bb <http://systemd_204.bb> >> index b8b1290..a12c6c9 100644 >> --- a/meta/recipes-core/systemd/sy**stemd_204.bb <http://systemd_204.bb> >> +++ b/meta/recipes-core/systemd/sy**stemd_204.bb <http://systemd_204.bb> >> @@ -13,9 +13,15 @@ PE = "1" >> DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native >> gperf-native acl readline dbus libcap libcgroup glib-2.0 qemu-native >> util-linux" >> DEPENDS += "${@base_contains('DISTRO_**FEATURES', 'pam', 'libpam', '', >> d)}" >> >> +# need to export these variables for python-config to work >> +export BUILD_SYS >> +export HOST_SYS >> +export STAGING_INCDIR >> +export STAGING_LIBDIR >> + >> SECTION = "base/shell" >> >> -inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d >> update-alternatives qemu >> +inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d >> update-alternatives qemu pythonnative python-dir >> >> > There is still a problem with that, that systemd will no bring in python > native unconditionally even if the PACKAGECONFIG is disabled, we will need > a way to wrap the inherit some how using variables. > One possibility might be to split out the python support into a separate recipe, if you can point it at bits in the sysroot from the main recipe. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
_______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core