core/linux-am33x to 4.1.5-2

fixes #1229
This commit is contained in:
Kevin Mihelich 2015-08-12 02:21:55 +00:00
parent 96c8491112
commit c40cf93116

View file

@ -8,23 +8,25 @@ _srcname=linux-4.1
_kernelname=${pkgbase#linux} _kernelname=${pkgbase#linux}
_desc="TI AM335x Beaglebone (Black)" _desc="TI AM335x Beaglebone (Black)"
pkgver=4.1.5 pkgver=4.1.5
pkgrel=1 pkgrel=2
rcnrel=bone15 rcnrel=bone15
arch=('armv7h') arch=('armv7h')
url="http://www.kernel.org/" url="http://www.kernel.org/"
license=('GPL2') license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git') makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'dtc-overlay')
options=('!strip') options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" 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" "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=aufs${pkgver%.*}"
#"git+https://github.com/sfjro/aufs4-standalone.git#branch=aufs4.x-rcN" #"git+https://github.com/sfjro/aufs4-standalone.git#branch=aufs4.x-rcN"
"git+https://github.com/RobertCNelson/bb.org-overlays.git"
'config') 'config')
md5sums=('fe9dc0f6729f36400ea81aa41d614c37' md5sums=('fe9dc0f6729f36400ea81aa41d614c37'
'79d9a168b73d91544c15b3b77221528a' '79d9a168b73d91544c15b3b77221528a'
'46aa9a144ac54b75a98d6a259a247d3e' '46aa9a144ac54b75a98d6a259a247d3e'
'SKIP' 'SKIP'
'SKIP'
'9c6782c60f92aa673e4e442d73652a91') '9c6782c60f92aa673e4e442d73652a91')
prepare() { prepare() {
@ -84,6 +86,10 @@ build() {
# build! # build!
make ${MAKEFLAGS} zImage modules dtbs make ${MAKEFLAGS} zImage modules dtbs
# build overlays
cd "${srcdir}/bb.org-overlays"
make
} }
_package() { _package() {
@ -133,6 +139,11 @@ _package() {
# move module tree /lib -> /usr/lib # move module tree /lib -> /usr/lib
mkdir -p "${pkgdir}/usr" mkdir -p "${pkgdir}/usr"
mv "$pkgdir/lib" "$pkgdir/usr" mv "$pkgdir/lib" "$pkgdir/usr"
# install overlays
cd "${srcdir}/bb.org-overlays"
mkdir -p "${pkgdir}/usr/lib/firmware"
cp src/arm/*.dtbo "${pkgdir}/usr/lib/firmware"
} }
_package-headers() { _package-headers() {