From 8048cf06d9b94787d18ff00c2b4b0ec7208a1f2c Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 1 Nov 2014 21:03:18 +0000 Subject: [PATCH] core/linux-d3plug to 3.4.2-2 --- core/linux-d3plug/PKGBUILD | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/core/linux-d3plug/PKGBUILD b/core/linux-d3plug/PKGBUILD index 87148b662..ca190dadb 100644 --- a/core/linux-d3plug/PKGBUILD +++ b/core/linux-d3plug/PKGBUILD @@ -7,7 +7,7 @@ pkgname=('linux-d3plug' 'linux-headers-d3plug') _kernelname=${pkgname#linux} _basekernel=3.4 pkgver=${_basekernel}.2 -pkgrel=1 +pkgrel=2 arch=('arm') url="http://www.kernel.org/" license=('GPL2') @@ -15,12 +15,14 @@ makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage' 'git' 'python2') options=('!strip') source=("http://archlinuxarm.org/builder/src/linux-${pkgver}-d3plug.tar.xz" 'config' - 'change-default-console-loglevel.patch') + 'change-default-console-loglevel.patch' + '0001-Backport-BFP-XOR-operation.patch') md5sums=('4f1e44d87da27855929511cd461704be' 'ce3de662a9344233aeca037da4ec090c' - '9d3c56a4b999c8bfbd4018089a62f662') + '9d3c56a4b999c8bfbd4018089a62f662' + 'ca5b466850782493b99e824d6efbea4d') -build() { +prepare() { cd "${srcdir}/linux-${pkgver}" # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param) @@ -36,6 +38,12 @@ build() { # don't run depmod on 'make install'. We'll do this ourselves in packaging sed -i '2iexit 0' scripts/depmod.sh + patch -p1 -i ../0001-Backport-BFP-XOR-operation.patch +} + +build() { + cd "${srcdir}/linux-${pkgver}" + # get kernel version make prepare