mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
core/linux-armv7 to 4.3.0-1
This commit is contained in:
parent
2d4dab7f2d
commit
80f6624262
2 changed files with 257 additions and 117 deletions
|
@ -4,22 +4,20 @@
|
|||
buildarch=4
|
||||
|
||||
pkgbase=linux-armv7
|
||||
_srcname=linux-4.2
|
||||
_srcname=linux-4.3
|
||||
_kernelname=${pkgbase#linux}
|
||||
_desc="ARMv7 multi-platform"
|
||||
pkgver=4.2.5
|
||||
pkgver=4.3.0
|
||||
pkgrel=1
|
||||
rcnrel=armv7-x2
|
||||
rcnrel=armv7-x0
|
||||
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"
|
||||
#"git+https://github.com/sfjro/aufs4-standalone.git#branch=aufs${pkgver%.*}"
|
||||
#"git+https://github.com/sfjro/aufs4-standalone.git#branch=aufs4.x-rcN"
|
||||
'0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch'
|
||||
'0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch'
|
||||
'0003-SMILE-Plug-device-tree-file.patch'
|
||||
|
@ -33,9 +31,8 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
|||
'kernel.its'
|
||||
'kernel.keyblock'
|
||||
'kernel_data_key.vbprivk')
|
||||
md5sums=('3d5ea06d767e2f35c999eeadafc76523'
|
||||
'19e47863ca441b2e11f90f25fb6c41ec'
|
||||
'f5cac70ed1546912a47e350dbe449886'
|
||||
md5sums=('58b35794eee3b6d52ce7be39357801e7'
|
||||
'69ff7306ac96b1b3d9e198d45e8ff26d'
|
||||
'61f728f854713d17a3d4ef00f8e38f1e'
|
||||
'bc39bcc5d752155854f31eb7758db5e8'
|
||||
'e871d819421abab551d8219b62cccdf9'
|
||||
|
@ -44,7 +41,7 @@ md5sums=('3d5ea06d767e2f35c999eeadafc76523'
|
|||
'3be6a6ddf93b89e90cc127268721845e'
|
||||
'fe20decabf6b7d94cf2ecb4d15a07ba7'
|
||||
'50dca48291316e4c0a7e918f08d5e3f5'
|
||||
'966034dde8acc41cf16fc0cb54bdfd44'
|
||||
'd8ec3d961d1dd5fb23b39eda27bbe895'
|
||||
'1813b39074d01af6548951764a0f6444'
|
||||
'b550d900d162a34eb5e14b4a6f409afb'
|
||||
'61c5ff73c136ed07a7aadbf58db3d96a'
|
||||
|
@ -54,7 +51,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
|
||||
|
@ -69,17 +66,6 @@ prepare() {
|
|||
git apply ../0007-set-default-cubietruck-led-triggers.patch
|
||||
git apply ../0008-USB-armory-support.patch
|
||||
|
||||
# AUFS patches
|
||||
#cp -ru "${srcdir}/aufs4-standalone/Documentation" .
|
||||
#cp -ru "${srcdir}/aufs4-standalone/fs" .
|
||||
#cp -ru "${srcdir}/aufs4-standalone/include/uapi/linux/aufs_type.h" ./include/linux
|
||||
#cp -ru "${srcdir}/aufs4-standalone/include/uapi/linux/aufs_type.h" ./include/uapi/linux
|
||||
|
||||
#git apply ../aufs4-standalone/aufs4-kbuild.patch
|
||||
#git apply ../aufs4-standalone/aufs4-base.patch
|
||||
#git apply ../aufs4-standalone/aufs4-mmap.patch
|
||||
#git apply ../aufs4-standalone/aufs4-standalone.patch
|
||||
|
||||
cat "${srcdir}/config" > ./.config
|
||||
|
||||
# add pkgrel to extraversion
|
||||
|
@ -123,7 +109,7 @@ _package() {
|
|||
pkgdesc="The Linux Kernel and modules - ${_desc}"
|
||||
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
||||
optdepends=('crda: to set the correct wireless channels of your country')
|
||||
provides=('kernel26' "linux=${pkgver}" 'aufs_friendly')
|
||||
provides=('kernel26' "linux=${pkgver}")
|
||||
conflicts=('linux')
|
||||
replaces=('linux-mvebu' 'linux-udoo' 'linux-sun4i' 'linux-sun5i' 'linux-sun7i' 'linux-usbarmory')
|
||||
install=${pkgname}.install
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue