This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/python/cross.bash

26 lines
365 B
Bash

source $pkg_common
configure()
{
echo "Post unpack is in $(pwd)"
echo "Pre-configuring by building an host python ... $(pwd) "
cd ../Python-$version/
./configure
}
build()
{
cd ../Python-$version
$cmd_make python Parser/pgen
}
host_install()
{
cd ../Python-$version
mv python hostpython
mv Parser/pgen Parser/hostpgen
$cmd_make distclean
}