kirkwood-kernel: update to 4.1.
This commit is contained in:
parent
dfd0cff282
commit
bdbea4d954
File diff suppressed because it is too large
Load Diff
|
@ -1,19 +1,22 @@
|
|||
# Template file for 'kirkwood-kernel'
|
||||
pkgname=kirkwood-kernel
|
||||
version=4.0.4
|
||||
version=4.1
|
||||
revision=1
|
||||
wrksrc="linux-${version}"
|
||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||
homepage="http://www.kernel.org/"
|
||||
license="GPL-2"
|
||||
short_desc="The Linux kernel and modules for kirkwood"
|
||||
_commit="e2827e1b7fde0280099b9f8ea2d85a5b67bcaf37"
|
||||
distfiles="${KERNEL_SITE}/kernel/v4.x/linux-${version}.tar.xz
|
||||
http://www.arm.linux.org.uk/developer/machines/download.php>mach-types
|
||||
https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/core/linux-kirkwood/archlinuxarm.patch"
|
||||
skip_extraction="mach-types archlinuxarm.patch"
|
||||
checksum="30651ccd2cdf01ea2215cd39a94d9b684c1b3a681120f33e6605b467fe41b4c8
|
||||
fe00141a8b03349c533647fbf707007d8a5a544203359ab8e33bd3cc399e9cf5
|
||||
b2dc1d470d246817b23ce4ac62913707af8ee2eae3003da645eb42668729c328"
|
||||
https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/${_commit}/core/linux-kirkwood/archlinuxarm.patch
|
||||
https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/${_commit}/core/linux-kirkwood/config"
|
||||
skip_extraction="mach-types archlinuxarm.patch config"
|
||||
checksum="caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f
|
||||
78bcb022e8a8a34d00df13722b54cd04451dd7b8c7388e014301064d65c8cc29
|
||||
53259fb05cb3903c5215da33426a654e3f212756cce155363decf8dc5ed7751e
|
||||
1a6825cf6467604138e25c806cd9ff5b964894dbafc1f6a97fe8386c45f644bd"
|
||||
|
||||
nodebug=yes
|
||||
nostrip=yes
|
||||
|
@ -25,7 +28,7 @@ hostmakedepends="perl kmod uboot-mkimage libressl-openssl bc"
|
|||
makedepends="ncurses-devel"
|
||||
triggers="kernel-hooks"
|
||||
|
||||
_kernver="${version}_${revision}"
|
||||
_kernver="${version}.0_${revision}" #FIXME
|
||||
# These files could be modified when an external module is built.
|
||||
mutable_files="
|
||||
/usr/lib/modules/${_kernver}/modules.builtin.bin
|
||||
|
@ -44,7 +47,8 @@ post_extract() {
|
|||
patch -p1 < "${srcdir}/archlinuxarm.patch"
|
||||
}
|
||||
do_configure() {
|
||||
cp ${FILESDIR}/kirkwood-config .config
|
||||
local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version"
|
||||
cp ${srcdir}/config .config
|
||||
|
||||
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
||||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
|
||||
|
|
Loading…
Reference in New Issue