core/linux-armv5 to 4.0.1-1

This commit is contained in:
Kevin Mihelich 2015-04-30 01:22:32 +00:00
parent 22d381a6b8
commit d7743dae34

View file

@ -7,7 +7,7 @@ pkgbase=linux-armv5
_srcname=linux-4.0
_kernelname=${pkgbase#linux}
_desc="ARMv5 multi-platform"
pkgver=4.0.0
pkgver=4.0.1
pkgrel=1
arch=('arm')
url="http://www.kernel.org/"
@ -15,15 +15,16 @@ license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
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"
#"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}"
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs3.x-rcN"
"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
"git+https://github.com/sfjro/aufs4-standalone.git#branch=aufs${pkgver%.*}"
#"git+https://github.com/sfjro/aufs4-standalone.git#branch=aufs4.x-rcN"
'0001-Added-ASoC-driver-for-i.MX233-s-builtin-ADC-DAC-code.patch'
'0001-arm-dts-imx23-olinuxino-enable-mxs-builtin-audio.patch'
'0002-Added-DTS-with-mxs-builtin-entries-for-testing-the-a.patch'
'0001-imx23-I2C-fixes.patch'
'config')
md5sums=('a86916bd12798220da9eb4a1eec3616d'
'80f12ad5146991a83bb35ab141c24f81'
'SKIP'
'114af68d721fdc22548994b847807929'
'3a1e689563354c2f9f2d2764e1baa334'
@ -35,7 +36,7 @@ prepare() {
cd "${srcdir}/${_srcname}"
# add upstream patch
#git apply --whitespace=nowarn "${srcdir}/patch-${pkgver}"
git apply --whitespace=nowarn "${srcdir}/patch-${pkgver}"
# ALARM patches
git apply ../0001-Added-ASoC-driver-for-i.MX233-s-builtin-ADC-DAC-code.patch
@ -44,15 +45,15 @@ prepare() {
git apply ../0001-imx23-I2C-fixes.patch
# AUFS patches
cp -ru "${srcdir}/aufs3-standalone/Documentation" .
cp -ru "${srcdir}/aufs3-standalone/fs" .
cp -ru "${srcdir}/aufs3-standalone/include/uapi/linux/aufs_type.h" ./include/linux
cp -ru "${srcdir}/aufs3-standalone/include/uapi/linux/aufs_type.h" ./include/uapi/linux
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 ../aufs3-standalone/aufs3-kbuild.patch
git apply ../aufs3-standalone/aufs3-base.patch
git apply ../aufs3-standalone/aufs3-mmap.patch
git apply ../aufs3-standalone/aufs3-standalone.patch
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