fix for _ctypes compilation on device

This commit is contained in:
ivpusic 2013-08-26 04:07:09 +02:00
parent 43b613d9fa
commit a2aeb88386
3 changed files with 3013 additions and 0 deletions

1761
src/python_files/cfield.c Normal file

File diff suppressed because it is too large Load diff

1248
src/python_files/pyconfig.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -62,6 +62,10 @@ try ./configure CC="$ARM_CC" LD="$ARM_LD" \
--prefix=/python \
--without-doc-strings
# with undefined lookup, checks in configure just failed :(
try cp $KIVYIOSROOT/src/python_files/pyconfig.h pyconfig.h
try cp $KIVYIOSROOT/src/python_files/cfield.c Modules/_ctypes/cfield.c
try make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen \
CROSS_COMPILE_TARGET=yes