<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 4:36 PM, Saul Wold <span dir="ltr"><<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 06/26/2013 05:15 AM, Yevhen Kyriukha wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
meta/recipes-core/systemd/<a href="http://systemd_204.bb" target="_blank">syst<u></u>emd_204.bb</a> | 20 ++++++++++++++++----<br>
1 file changed, 16 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/meta/recipes-core/systemd/<a href="http://systemd_204.bb" target="_blank">sy<u></u>stemd_204.bb</a> b/meta/recipes-core/systemd/<a href="http://systemd_204.bb" target="_blank">sy<u></u>stemd_204.bb</a><br>
index b8b1290..a12c6c9 100644<br>
--- a/meta/recipes-core/systemd/<a href="http://systemd_204.bb" target="_blank">sy<u></u>stemd_204.bb</a><br>
+++ b/meta/recipes-core/systemd/<a href="http://systemd_204.bb" target="_blank">sy<u></u>stemd_204.bb</a><br>
@@ -13,9 +13,15 @@ PE = "1"<br>
DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup glib-2.0 qemu-native util-linux"<br>
DEPENDS += "${@base_contains('DISTRO_<u></u>FEATURES', 'pam', 'libpam', '', d)}"<br>
<br>
+# need to export these variables for python-config to work<br>
+export BUILD_SYS<br>
+export HOST_SYS<br>
+export STAGING_INCDIR<br>
+export STAGING_LIBDIR<br>
+<br>
SECTION = "base/shell"<br>
<br>
-inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu<br>
+inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu pythonnative python-dir<br>
<br>
</blockquote>
<br></div>
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.<br></blockquote><div>
<br></div><div style>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.</div></div>-- <br>Christopher Larson<br>clarson at kergoth dot com<br>
Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics
</div></div>