core/linux-raspberrypi4: use if/elif for checks from now on

This commit is contained in:
graysky 2021-10-04 07:49:54 -04:00
parent 61a41b7332
commit cc28a53add

View file

@ -36,8 +36,11 @@ md5sums_aarch64=('f7855453cf26a32256472c34f67748cf'
'9669d916a5929a2eedbd64477f83d99e')
# setup vars
[[ $CARCH == "armv7h" ]] && _kernel=kernel7.img KARCH=arm _image=zImage _config=config _bconfig=config.txt
[[ $CARCH == "aarch64" ]] && _kernel=kernel8.img KARCH=arm64 _image=Image _config=config8 _bconfig=config8.txt
if [[ $CARCH == "armv7h" ]]; then
_kernel=kernel7.img KARCH=arm _image=zImage _config=config _bconfig=config.txt
else [[ $CARCH == "aarch64" ]]; then
_kernel=kernel8.img KARCH=arm64 _image=Image _config=config8 _bconfig=config8.txt
fi
prepare() {
cd "${srcdir}/${_srcname}"