ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Python target/host patch


From: Mike Goins
Subject: [Ltib] Python target/host patch
Date: Mon, 9 Jul 2012 15:17:36 -0400

This creates a python-host.spec file.  Modified the existing python
spec to use the ltib installed python.

ltib python packages usually cannot be compiled/installed by the
native host installation because if the version differences.  This
adds a host python installation (if selected) to the ltib spoof path
that matches the cross build version.   The cross built version can
detect the spoof path installation and use it instead of self
boot-strapping a native build.   The self-boot-strapped behavior is
the default with out the host selection (eg, no change in existing
behavior).  This should fix the pyserial package in ltib, but have not
checked myself.  It will also eventually allow enabling the python
wrappers for libxml2 and libxslt (I have these working but are
horrible configure hacks).

Note:
I am not sure if [ -e $DEFPFX/usr/bin/python ] is a proper test to
determine if host python installed.  A better solution might be to
grep the platform/host/.config file for PKG_PYTHON=y.  Let me know if
the latter is preferred and I will correct.

Attachment: host_python.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]