diff options
author | Philippe Schommers <philippe@schommers.be> | 2019-08-22 19:44:48 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-27 15:18:45 +0000 |
commit | 20254a26ae4cafe5e78f3ad044da7f658187b1b3 (patch) | |
tree | 43377450365d8a962d1ceabe7b9ee5a7bb1f737f /main/linux-rpi | |
parent | 894a400d626052b87c4ef3680d3ea76cd8d38711 (diff) | |
download | aports-20254a26ae4cafe5e78f3ad044da7f658187b1b3.tar.bz2 aports-20254a26ae4cafe5e78f3ad044da7f658187b1b3.tar.xz |
main/linux-rpi: add a subpackage for RPi 4
Diffstat (limited to 'main/linux-rpi')
-rw-r--r-- | main/linux-rpi/APKBUILD | 19 | ||||
l--------- | main/linux-rpi/config-changes-rpi4.aarch64 | 1 | ||||
l--------- | main/linux-rpi/config-changes-rpi4.armv7 | 1 |
3 files changed, 16 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" diff --git a/main/linux-rpi/config-changes-rpi4.aarch64 b/main/linux-rpi/config-changes-rpi4.aarch64 new file mode 120000 index 0000000000..514280e61a --- /dev/null +++ b/main/linux-rpi/config-changes-rpi4.aarch64 @@ -0,0 +1 @@ +config-changes-rpi.armhf
\ No newline at end of file diff --git a/main/linux-rpi/config-changes-rpi4.armv7 b/main/linux-rpi/config-changes-rpi4.armv7 new file mode 120000 index 0000000000..514280e61a --- /dev/null +++ b/main/linux-rpi/config-changes-rpi4.armv7 @@ -0,0 +1 @@ +config-changes-rpi.armhf
\ No newline at end of file |