core/linux-raspberrypi to 4.14.18-1

This commit is contained in:
Kevin Mihelich 2018-02-11 19:55:43 +00:00
parent 53064e04f5
commit 036e1ae322
2 changed files with 554 additions and 247 deletions

View file

@ -5,11 +5,11 @@
buildarch=20
pkgbase=linux-raspberrypi
_commit=a2f34d45809d8685bca1e91989e35746499ac400
_commit=5e2d4ac539f8007e7a2c0e86956b53680f764ff1
_srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="Raspberry Pi"
pkgver=4.9.80
pkgver=4.14.18
pkgrel=1
arch=('armv6h' 'armv7h')
url="http://www.kernel.org/"
@ -17,18 +17,15 @@ license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
options=('!strip')
source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz"
"https://archlinuxarm.org/builder/src/bcm43430/7.45.41.46/brcmfmac43430-sdio."{bin,txt}
'config.txt'
'cmdline.txt'
'config'
'linux.preset'
'99-linux.hook')
md5sums=('3a585f8756acb0d71da4454c3802b8b9'
'5f520a38ab4e943bfa1ba102f80fb2a0'
'9a88b55134d9f8f3ad2331b93f4b7b79'
md5sums=('81ad2dac04d14c2576786f448c1cf3dd'
'7c6b37a1353caccf6d3786bb4161c218'
'60bc3624123c183305677097bcd56212'
'1011c2887fd77371eac8ac0b297f6148'
'032e78bb8d5942df0afd0b3a4dd09d8d'
'552c43bf6c0225bc213b31ee942b7000'
'982f9184dfcfbe52110795cf73674334')
@ -42,9 +39,6 @@ prepare() {
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
mkdir firmware/brcm
cp ../brcmfmac43430-sdio.{bin,txt} firmware/brcm
}
build() {
@ -79,7 +73,7 @@ build() {
_package() {
pkgdesc="The Linux Kernel and modules - ${_desc}"
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7' 'firmware-raspberrypi')
optdepends=('crda: to set the correct wireless channels of your country')
provides=('kernel26' "linux=${pkgver}")
conflicts=('kernel26' 'linux')
@ -183,10 +177,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