#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## perl-5.32.1: configure ##########"
cd /home/ych/rk3568/buildroot
(cd /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/perl-5.32.1; 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" HOSTCC='/usr/bin/gcc' ./configure --target=aarch64-buildroot-linux-gnu --target-tools-prefix=/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/aarch64-buildroot-linux-gnu- --prefix=/usr -Dld="/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/aarch64-buildroot-linux-gnu-gcc" -Dccflags="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os -g0 -D_FORTIFY_SOURCE=1" -Dldflags=" -lm " -Dmydomain="" -Dmyhostname="noname" -Dmyuname="Buildroot linux-5.10-gen-rkr8" -Dosname=linux -Dosvers=custom -Dperladmin=root)
/bin/sed -i -e 's/UNKNOWN-/Buildroot linux-5.10-gen-rkr8 /' /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/perl-5.32.1/patchlevel.h
