mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Python:
- revert r1809, we need some more work for fixing crosscompiling python
This commit is contained in:
parent
60a32aea21
commit
fd26d83fd1
@ -20,24 +20,22 @@ rm -rf config.cache
|
|||||||
|
|
||||||
CONFIG_SITE= \
|
CONFIG_SITE= \
|
||||||
OPT="$HOST_CFLAGS" \
|
OPT="$HOST_CFLAGS" \
|
||||||
./configure --prefix=$SYSROOT_PREFIX/usr \
|
./configure --prefix=$ROOT/$TOOLCHAIN \
|
||||||
--disable-shared \
|
|
||||||
--without-cxx-main \
|
--without-cxx-main \
|
||||||
--with-threads \
|
--with-threads \
|
||||||
|
--enable-unicode=ucs4 \
|
||||||
|
|
||||||
OPT="$HOST_CFLAGS" \
|
OPT="$HOST_CFLAGS" \
|
||||||
make python Parser/pgen
|
make python Parser/pgen
|
||||||
|
|
||||||
#OPT="$HOST_CFLAGS" \
|
OPT="$HOST_CFLAGS" \
|
||||||
#PYTHON_MODULES_INCLUDE=/usr/include \
|
PYTHON_MODULES_INCLUDE=/usr/include \
|
||||||
#PYTHON_MODULES_LIB="/lib /lib64 /usr/lib /usr/lib64" \
|
PYTHON_MODULES_LIB="/lib /lib64 /usr/lib /usr/lib64" \
|
||||||
#make HOSTPYTHON=./python sharedmods install
|
make HOSTPYTHON=./python sharedmods install
|
||||||
|
|
||||||
mv Parser/pgen ./hostpgen
|
mv Parser/pgen ./hostpgen
|
||||||
cp python ./hostpython
|
cp python ./hostpython
|
||||||
|
|
||||||
cp python $ROOT/$TOOLCHAIN/bin
|
|
||||||
|
|
||||||
make distclean
|
make distclean
|
||||||
|
|
||||||
setup_toolchain target
|
setup_toolchain target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user