mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
parent
96c8491112
commit
c40cf93116
1 changed files with 13 additions and 2 deletions
|
@ -8,23 +8,25 @@ _srcname=linux-4.1
|
|||
_kernelname=${pkgbase#linux}
|
||||
_desc="TI AM335x Beaglebone (Black)"
|
||||
pkgver=4.1.5
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
rcnrel=bone15
|
||||
arch=('armv7h')
|
||||
url="http://www.kernel.org/"
|
||||
license=('GPL2')
|
||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
|
||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'dtc-overlay')
|
||||
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://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=aufs4.x-rcN"
|
||||
"git+https://github.com/RobertCNelson/bb.org-overlays.git"
|
||||
'config')
|
||||
md5sums=('fe9dc0f6729f36400ea81aa41d614c37'
|
||||
'79d9a168b73d91544c15b3b77221528a'
|
||||
'46aa9a144ac54b75a98d6a259a247d3e'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'9c6782c60f92aa673e4e442d73652a91')
|
||||
|
||||
prepare() {
|
||||
|
@ -84,6 +86,10 @@ build() {
|
|||
|
||||
# build!
|
||||
make ${MAKEFLAGS} zImage modules dtbs
|
||||
|
||||
# build overlays
|
||||
cd "${srcdir}/bb.org-overlays"
|
||||
make
|
||||
}
|
||||
|
||||
_package() {
|
||||
|
@ -133,6 +139,11 @@ _package() {
|
|||
# move module tree /lib -> /usr/lib
|
||||
mkdir -p "${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() {
|
||||
|
|
Loading…
Reference in a new issue