mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
core/linux-raspberrypi4: use if/elif for checks from now on
This commit is contained in:
parent
61a41b7332
commit
cc28a53add
1 changed files with 5 additions and 2 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue