#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## host-python3-3.10.5: host install ##########"
cd /home/ych/rk3568/buildroot
PATH="/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin:/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/lib/pkgconfig:/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/share/pkgconfig"  /usr/bin/make -j21 install -C /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/host-python3-3.10.5/
cd /home/ych/rk3568/buildroot
ln -fs python3 /home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/python
ln -fs python3-config /home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/python-config
cd /home/ych/rk3568/buildroot
rm -f -rf  /home/ych/rk3568/buildroot/output/rockchip_rk3568/host/share/info/dir
