| | |
| | | BSP_BRANCH="lf-5.10.52-2.1.0" |
| | | CROSS_TOOL=/opt/buildroot/cortexA7/bin/arm-linux- |
| | | |
| | | # $SYSTEM should be buildroot, yocto or debian |
| | | # Buildroot distro should be: buildroot-2021.02 |
| | | # Yocto distro should be : hardknott |
| | | # Debian distro should be : buster or bullseye |
| | | # SYSTEM should be: buildroot, yocto or debian |
| | | # DISTRO should be: 2021.02, hardknott, buster or bullseye |
| | | # SYSNAME should be: buildroot, yocto, buster or bullseye |
| | | SYSTEM=buildroot |
| | | DISTRO=v2021.02 |
| | | DISTRO=2021.02 |
| | | |
| | | SYSTEM=`echo $SYSTEM | tr 'A-Z' 'a-z'` |
| | | if [ $SYSTYPE == "debian" ] ; then |
| | | SYSNAME=${DISTRO} |
| | | else |
| | | SYSNAME=${SYSTEM} |
| | | fi |
| | | |
| | | set -u |
| | | set -e |
| | |
| | | |
| | | sed -i "s|^SYSTEM=.*|SYSTEM=${SYSTEM}|g" ${DIR}/build.sh |
| | | sed -i "s|^DISTRO=.*|DISTRO=${DISTRO}|g" ${DIR}/build.sh |
| | | sed -i "s|^SYSNAME=.*|SYSNAME=${SYSNAME}|g" ${DIR}/build.sh |
| | | } |
| | | |
| | | function do_modify() |