#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## lmbench-3.0-a9: configure ##########"
cd /home/ych/rk3568/buildroot
sed -i 's/CFLAGS=/CFLAGS+=/g' /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/lmbench-3.0-a9/src/Makefile
sed -i 's/LDLIBS=/LDLIBS+=/g' /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/lmbench-3.0-a9/scripts/build
sed -i '/cd .*doc/d' /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/lmbench-3.0-a9/src/Makefile
sed -i '/include/d' /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/lmbench-3.0-a9/src/Makefile
touch /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/lmbench-3.0-a9/.stamp_configured
