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

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to