mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/linux-armv7 to 4.13.0-1
This commit is contained in:
parent
5da8a041c9
commit
8963d12504
2 changed files with 184 additions and 121 deletions
|
@ -4,19 +4,19 @@
|
|||
buildarch=4
|
||||
|
||||
pkgbase=linux-armv7
|
||||
_srcname=linux-4.12
|
||||
_srcname=linux-4.13
|
||||
_kernelname=${pkgbase#linux}
|
||||
_desc="ARMv7 multi-platform"
|
||||
pkgver=4.12.10
|
||||
pkgver=4.13.0
|
||||
pkgrel=1
|
||||
rcnrel=armv7-x3
|
||||
rcnrel=armv7-x1
|
||||
arch=('armv7h')
|
||||
url="http://www.kernel.org/"
|
||||
license=('GPL2')
|
||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-tools' 'vboot-utils' 'dtc')
|
||||
options=('!strip')
|
||||
source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
||||
"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
||||
#"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
||||
"http://rcn-ee.com/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${pkgver%.0}-${rcnrel}.diff.gz"
|
||||
'0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch'
|
||||
'0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch'
|
||||
|
@ -33,9 +33,8 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
|||
'kernel_data_key.vbprivk'
|
||||
'linux.preset'
|
||||
'99-linux.hook')
|
||||
md5sums=('fc454157e2d024d401a60905d6481c6b'
|
||||
'372499380d29bbbc176d7672bd21f812'
|
||||
'594d75eddec5bd70ee46db12235a420a'
|
||||
md5sums=('ab1a2abc6f37b752dd2595338bec4e78'
|
||||
'a9f8b2a86a994a8a95dc5786a94c5b6b'
|
||||
'722bc867ef5285e2719ce3e526425a65'
|
||||
'c2e8438c4e7a93bb8fbf1576f23773f7'
|
||||
'def3e95ff11cffe49d4624f4e00b59a2'
|
||||
|
@ -45,7 +44,7 @@ md5sums=('fc454157e2d024d401a60905d6481c6b'
|
|||
'ff5f4ca7f97b8ebfbb09ec76363e71ec'
|
||||
'f9282ee13ad2c393c462ef20b143ae22'
|
||||
'9fb6cef04dd98e38094803c56e9c453b'
|
||||
'a70f1854c0f32562487c0ba61521c17c'
|
||||
'fcdb936c968f62dd39af13ab1b6b96f0'
|
||||
'4f2379ed84258050edb858ee8d281678'
|
||||
'61c5ff73c136ed07a7aadbf58db3d96a'
|
||||
'584777ae88bce2c5659960151b64c7d8'
|
||||
|
@ -56,7 +55,7 @@ prepare() {
|
|||
cd "${srcdir}/${_srcname}"
|
||||
|
||||
# add upstream patch
|
||||
git apply --whitespace=nowarn ../patch-${pkgver}
|
||||
#git apply --whitespace=nowarn ../patch-${pkgver}
|
||||
|
||||
# RCN patch
|
||||
git apply ../patch-${pkgver%.0}-${rcnrel}.diff
|
||||
|
@ -219,10 +218,6 @@ _package-headers() {
|
|||
|
||||
cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel/"
|
||||
|
||||
# add docbook makefile
|
||||
install -D -m644 Documentation/DocBook/Makefile \
|
||||
"${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile"
|
||||
|
||||
# add dm headers
|
||||
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md"
|
||||
cp drivers/md/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md"
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue