diff options
Diffstat (limited to 'main/linux-rpi/APKBUILD')
-rw-r--r-- | main/linux-rpi/APKBUILD | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/main/linux-rpi/APKBUILD b/main/linux-rpi/APKBUILD index b84b82bdc8..91e9054cb0 100644 --- a/main/linux-rpi/APKBUILD +++ b/main/linux-rpi/APKBUILD @@ -6,7 +6,7 @@ case $pkgver in *.*.*) _kernver=${pkgver%.*};; *.*) _kernver=${pkgver};; esac -pkgrel=0 +pkgrel=1 pkgdesc="Linux kernel with Raspberry Pi patches" url=https://github.com/raspberrypi/linux depends="mkinitfs" @@ -24,10 +24,12 @@ source="https://kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz issue-4973.patch config-changes-rpi.armhf + config-changes-rpi.armv7 config-changes-rpi.aarch64 config-changes-rpi2.armhf - config-changes-rpi.armv7 config-changes-rpi2.armv7 + config-changes-rpi4.armv7 + config-changes-rpi4.aarch64 " subpackages="" arch="armhf armv7 aarch64" @@ -109,6 +111,7 @@ _genconfig() { rpi) defconfig=bcmrpi_defconfig [ "$CARCH" = "aarch64" ] && defconfig=bcmrpi3_defconfig ;; rpi2) defconfig=bcm2709_defconfig ;; + rpi4) defconfig=bcm2711_defconfig ;; *) die "Unknown flavor: $flavor" ;; esac @@ -231,10 +234,14 @@ package() { # subflavors install in $subpkgdir rpi2() { depends="$depends linux-firmware-brcm" - _package rpi2 "$subpkgdir" } +rpi4() { + depends="$depends linux-firmware-brcm" + _package rpi4 "$subpkgdir" +} + _dev() { local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g') local _abi_release=${pkgver}-${pkgrel}-$_flavor @@ -288,7 +295,9 @@ sha512sums="ab67cc746b375a8b135e8b23e35e1d6787930d19b3c26b2679787d62951cbdbc3bb6 f77ddf9a2af24227db450d0f9a40ac4300ed38752acdf20a0c5f0a83a480ba165f257df4f2fc978590205b70d665f890b531a92326d82367084f2cabd1f4c8f9 rpi-4.19.86-alpine.patch 501c91bf2538a18102da59bbccc3097f9c3c90079acc0e946ff075074160c09b8a66934e5ce5470e170f0e4f93d114709a95230367426d0bb7ea02c4bdf4cc9b issue-4973.patch 6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi.armhf +6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi.armv7 6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi.aarch64 6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi2.armhf -6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi.armv7 -6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi2.armv7" +6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi2.armv7 +6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi4.armv7 +6c1c1c61ceb323eecb0e81e226af6b5b8fef7c8c075b1eb836639f465de5ef5d23648716c953d295250f8c6567546782956afe644573b84920a4f6902a1a0454 config-changes-rpi4.aarch64" |