diff --git a/core/linux-raspberrypi4/PKGBUILD b/core/linux-raspberrypi4/PKGBUILD index 82e9fa2df..5e6ef25b4 100644 --- a/core/linux-raspberrypi4/PKGBUILD +++ b/core/linux-raspberrypi4/PKGBUILD @@ -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}"