mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/linux-am33x to 4.0.1-1
This commit is contained in:
parent
d7743dae34
commit
ba70236215
1 changed files with 16 additions and 15 deletions
|
@ -7,22 +7,23 @@ pkgbase=linux-am33x
|
|||
_srcname=linux-4.0
|
||||
_kernelname=${pkgbase#linux}
|
||||
_desc="TI AM335x Beaglebone (Black)"
|
||||
pkgver=4.0.0
|
||||
pkgver=4.0.1
|
||||
pkgrel=1
|
||||
rcnrel=bone0
|
||||
rcnrel=bone1
|
||||
arch=('armv7h')
|
||||
url="http://www.kernel.org/"
|
||||
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"
|
||||
"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://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}"
|
||||
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs3.x-rcN"
|
||||
"git+https://github.com/sfjro/aufs4-standalone.git#branch=aufs${pkgver%.*}"
|
||||
#"git+https://github.com/sfjro/aufs4-standalone.git#branch=aufs4.x-rcN"
|
||||
'config')
|
||||
md5sums=('a86916bd12798220da9eb4a1eec3616d'
|
||||
'276b44fd85c2d3d0d012bc7c3e7cee75'
|
||||
'80f12ad5146991a83bb35ab141c24f81'
|
||||
'c1f4926edcf829ca9c2b66ab20243934'
|
||||
'SKIP'
|
||||
'ab6fcee30e0cced6193b4085d4919917')
|
||||
|
||||
|
@ -30,21 +31,21 @@ 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 "${srcdir}/patch-${pkgver%.0}-${rcnrel}.diff"
|
||||
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue