diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-10-06 19:45:38 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-10-06 19:47:38 +0000 |
commit | 9f182d8178f405a0020702b64196125a95273494 (patch) | |
tree | 6e62b361c2f3f8998550ea1caf77b5504026ad53 /main/linux-rpi/APKBUILD | |
parent | a33d64800e845b5b341e38357d0e2792d40cf2b6 (diff) | |
download | aports-9f182d8178f405a0020702b64196125a95273494.tar.bz2 aports-9f182d8178f405a0020702b64196125a95273494.tar.xz |
main/linux-rpi: upgrade to 4.1.10
update configs and add driver for the cirrus audio add-on board
Diffstat (limited to 'main/linux-rpi/APKBUILD')
-rw-r--r-- | main/linux-rpi/APKBUILD | 58 |
1 files changed, 27 insertions, 31 deletions
diff --git a/main/linux-rpi/APKBUILD b/main/linux-rpi/APKBUILD index 1a055cda04..ba02b7903c 100644 --- a/main/linux-rpi/APKBUILD +++ b/main/linux-rpi/APKBUILD @@ -2,7 +2,7 @@ _mainflavor=rpi pkgname=linux-$_mainflavor -pkgver=3.18.20 +pkgver=4.1.10 case $pkgver in *.*.*) _kernver=${pkgver%.*};; *.*) _kernver=${pkgver};; @@ -14,10 +14,10 @@ depends="mkinitfs linux-firmware" makedepends="perl installkernel bash gmp-dev bc" options="!strip" install= -source="http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$_kernver.tar.xz - http://ftp.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.xz - http://dev.alpinelinux.org/~tteras/linux-3.18.y-rpi-20150617.patch - aslr-pie.patch +source="http://ftp.kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz + http://ftp.kernel.org/pub/linux/kernel/v4.x/patch-$pkgver.xz + http://dev.alpinelinux.org/~tteras/linux-4.1.y-rpi-20151006.patch + 0001-inet-fix-potential-deadlock-in-reqsk_queue_unlink.patch config-rpi.armhf config-rpi2.armhf @@ -108,14 +108,9 @@ _package() { case "$CARCH" in arm*) local _dtbdir="$_outdir"/usr/lib/linux-${_abi_release} - mkdir -p "$_dtbdir" "$_dtbdir"/overlays - for i in arch/arm/boot/dts/*.dtb ; do - case "$i" in - *-overlay.dtb) install -m644 "$i" "$_dtbdir/overlays" ;; - *.dtb) install -m644 "$i" "$_dtbdir" ;; - esac - done - + cd "$srcdir"/build-$_buildflavor/arch/arm/boot/dts || return 1 + mkdir -p "$_dtbdir" + find . -name "*.dtb" -type f | cpio -pdm "$_dtbdir" _install=zinstall ;; *) @@ -123,6 +118,7 @@ _package() { ;; esac + cd "$srcdir"/build-$_buildflavor || return 1 make -j1 modules_install firmware_install $_install \ INSTALL_MOD_PATH="$_outdir" \ INSTALL_PATH="$_outdir"/boot \ @@ -199,24 +195,24 @@ dev() { "$subpkgdir"/lib/modules/${_abi_release}/build } -md5sums="9e854df51ca3fef8bfe566dbd7b89241 linux-3.18.tar.xz -483dc72613a4f67c856acb2208de3d86 patch-3.18.20.xz -4224a13261d65db5c09e88e6a14d670b linux-3.18.y-rpi-20150617.patch -6f5854b710be8f38f67fc7ec8f3d0625 aslr-pie.patch -52f17d154ebd339617c42318f569b979 config-rpi.armhf -1bb45f3fea9fdecb88c9d6fb8d607ec7 config-rpi2.armhf +md5sums="fe9dc0f6729f36400ea81aa41d614c37 linux-4.1.tar.xz +599cb082ef44d8fb76ad8fd49d1b50fc patch-4.1.10.xz +161b4c74b6071d5bfb51ac5175cbab04 linux-4.1.y-rpi-20151006.patch +ffa7fdc282af20f2b48b95b2687b7452 0001-inet-fix-potential-deadlock-in-reqsk_queue_unlink.patch +242b81099d0eec85103a59a65ad9bf3e config-rpi.armhf +9b055df73d3876d73700f63136628183 config-rpi2.armhf 1f3dda659442fa7e2afc62bffeceb129 markdt" -sha256sums="becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd linux-3.18.tar.xz -00bbeee2ead1c67d5603b86b688e37e328d471bc15415e8c4e806fc1b246aacf patch-3.18.20.xz -82f881bfbb3f761ae4c81ec6272ee0b62f1066deb9fff9b290774f844d838638 linux-3.18.y-rpi-20150617.patch -e1db8126b13507f4442b1fa5c3d2648fa453f0ca3ea75145ec6f0faeab923c08 aslr-pie.patch -a92e574315ccbbb7de621e9c8945ae11a83c7c2cd41116b7a2a71b8c0affb656 config-rpi.armhf -571204b3caa01e40c46351f28e9ce3ed276e9111355e4ba953f898f76c8d5143 config-rpi2.armhf +sha256sums="caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f linux-4.1.tar.xz +929e210fe6dbd5dd26812c146630be14e979aae6c960a2feb39544babb8e73cb patch-4.1.10.xz +777909c66d87d0f18796cc4fe426a30ae89ce20380c62ae00976bbffd28374ec linux-4.1.y-rpi-20151006.patch +c56583010561ca7d7b5e5aa3eed67c939f67deb2d22af7155e475c10baa4d7a5 0001-inet-fix-potential-deadlock-in-reqsk_queue_unlink.patch +7a49802d041ef18ccfd8127581982638c4c3ca8f8352b179fe74dfa996daf374 config-rpi.armhf +e5a00767290bb542388d4a7daa8f6331b563880e03def85ec1fd2a09fb7f9b84 config-rpi2.armhf 289a7509bc294295b65680c7fff0b2ec07cf359ea8a57cef00267396885f9b54 markdt" -sha512sums="2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 linux-3.18.tar.xz -d9005d27bbcfc98600053dcf3e72398efd50fb9e1e0e46ffca2e3091d4a67c53bccec28312e7debc8f10273dc0bfbff12898cb71b977e5b4839c422a31c4e22f patch-3.18.20.xz -f48822399d842f60d533d11be0c1eeb881d21fb69fa110d19cb0778d271e9f2bd230673a9dffca98483a317150fac62c0eb1e0fae50d85751b05fa0b7a58132f linux-3.18.y-rpi-20150617.patch -8b2080b72cd0a1bf8f528e8a7a4ab7921ee9e1e425a5c0439e9409b599eca23ad992f5fec67924da736c20de9728c7f0cb2f3087212a278e82ba8ecfc8fac7d0 aslr-pie.patch -cd3c88c5d66b4b809cc1fb3420479e2dd3d6d7c85b7bcccbb2348d01934fd1a878f3047f3dcb616687634e9f8024e3fd4ad94246c02e44a173991ce4ff526b5b config-rpi.armhf -c3c8f5563f0e3b2aa4c4231e7c01c5724b628a51720296e31801de0d04076ce8cf178315f13502b5388ba5b325ef02e03d72adfb694564ad2f4aeeefa40e2cbc config-rpi2.armhf +sha512sums="168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 linux-4.1.tar.xz +3b5cb5c8f494958c39a06a1b416e3e5a075a3c76c44f8bf1ae5a14deec9861407100c2ef59b0720e8fc0729b5c8422b4d819ff59f1f7ec4eed20c5ba8a95d6d5 patch-4.1.10.xz +fa9022592a4ea1ce7cc2cadac672ba120471be6453f40acef8b8ac6ad50fa36701bd4ebe335507dff848d335c2b7f4e74ec0313ea039edfa7a35900c31639097 linux-4.1.y-rpi-20151006.patch +32ae58cf74d5e02cb09445be35772dad0a517949bd1836f8dbc90b871de67901b61dba5eccdc2a795a9f7e5c06831335504a738205eb49768f7424cf30ddd8ae 0001-inet-fix-potential-deadlock-in-reqsk_queue_unlink.patch +103c7ea030b8cf8dc7d26e426236b24a13841e6d7b698cd172990be2198286d35d70b13e4b6ea4ca8517d5443305d0447662205bfe4c963b332543e2e5d7be0c config-rpi.armhf +012a7fdacfac2cd851010dd72ed772c82c9622eb1a36e47f372341c6d32ba6ef686b22515ae347c69db14e9648d4d7e3897b13751a816c351d0098cabf979b3c config-rpi2.armhf 89601aa0e4f77fb07fb1d58c6a9394c8683bc7dfc905ca6612d607ef4188637662d295fa3d5640e3e0a4cd08c98c10511a4f3cea41e7568167b12d0a6c813e8b markdt" |