mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Python2/3: remove temp build directory post install
It's full of absolute paths that we don't want in the toolchain tar.
This commit is contained in:
parent
42f3a2f5a8
commit
2c3aa62af8
@ -88,6 +88,10 @@ makeinstall_host() {
|
||||
install
|
||||
}
|
||||
|
||||
post_makeinstall_host() {
|
||||
rm -fr $PKG_BUILD/.$HOST_NAME/build/temp.*
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
export PYTHON_FOR_BUILD=$TOOLCHAIN/bin/python
|
||||
}
|
||||
@ -114,6 +118,8 @@ makeinstall_target() {
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -fr $PKG_BUILD/.$TARGET_NAME/build/temp.*
|
||||
|
||||
for dir in bsddb idlelib lib-tk lib2to3 msilib pydoc_data test unittest; do
|
||||
rm -rf $INSTALL/usr/lib/python*/$dir
|
||||
done
|
||||
|
@ -114,10 +114,14 @@ post_makeinstall_host() {
|
||||
rm -f $TOOLCHAIN/bin/pyvenv
|
||||
rm -f $TOOLCHAIN/bin/pydoc*
|
||||
|
||||
rm -fr $PKG_BUILD/.$HOST_NAME/build/temp.*
|
||||
|
||||
cp $PKG_BUILD/Tools/scripts/reindent.py $TOOLCHAIN/lib/$PKG_PYTHON_VERSION
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -fr $PKG_BUILD/.$TARGET_NAME/build/temp.*
|
||||
|
||||
PKG_INSTALL_PATH_LIB=$INSTALL/usr/lib/$PKG_PYTHON_VERSION
|
||||
|
||||
for dir in config compiler sysconfigdata lib-dynload/sysconfigdata lib2to3 test; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user