mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
Merge pull request #1200 from sctincman/linux-parallella
core/linux-parallella to 3.14.12
This commit is contained in:
commit
3a53b07e55
3 changed files with 183 additions and 79 deletions
|
@ -1,34 +1,31 @@
|
||||||
# Parallella
|
# Parallella
|
||||||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
# Contributor: Scott Tincman <sctincman@gmail.com>
|
||||||
|
|
||||||
buildarch=4
|
buildarch=4
|
||||||
|
|
||||||
pkgbase=linux-parallella
|
pkgbase=linux-parallella
|
||||||
_commit=c3c3ff26b9c1abf60176c280cf1a16d1e18e9c00
|
_commit=7a0dc647b9b1c0010ff83fc117e29b408d5693bb
|
||||||
_srcname=parallella-linux-adi-${_commit}
|
_srcname=parallella-linux-${_commit}
|
||||||
_kernelname=${pkgbase#linux}
|
_kernelname=${pkgbase#linux}
|
||||||
_desc="Parallella"
|
_desc="Parallella"
|
||||||
pkgver=3.12.0
|
pkgver=3.14.12
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
url="https://github.com/parallella/parallella-linux-adi"
|
url="https://github.com/parallella/parallella-linux"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'uboot-mkimage')
|
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'uboot-mkimage')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("https://github.com/parallella/parallella-linux-adi/archive/${_commit}.tar.gz"
|
source=("https://github.com/parallella/parallella-linux/archive/${_commit}.tar.gz"
|
||||||
'alarm.patch'
|
|
||||||
'config')
|
'config')
|
||||||
md5sums=('efff205c33043ebf83483543293b3211'
|
sha256sums=('4b19478f7932294c92c749843c7f68c3d35deb28937f76f4154bec68f83076eb'
|
||||||
'0ca4c6be68ddd1ee1c9224f80fc3a698'
|
'8bb191e1ac181b0c0fa2ed0a64cf1e367d291f0f4045c000634f40b6c06d970d')
|
||||||
'0c079fc22fd3e798511afb1eaf985244')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${_srcname}"
|
cd "${srcdir}/${_srcname}"
|
||||||
|
|
||||||
cat "${srcdir}/config" > ./.config
|
cat "${srcdir}/config" > ./.config
|
||||||
|
|
||||||
patch -p0 -i ../alarm.patch
|
|
||||||
|
|
||||||
# add pkgrel to extraversion
|
# add pkgrel to extraversion
|
||||||
sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile
|
sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile
|
||||||
|
|
||||||
|
@ -63,7 +60,7 @@ build() {
|
||||||
#yes "" | make config
|
#yes "" | make config
|
||||||
|
|
||||||
# build!
|
# build!
|
||||||
make ${MAKEFLAGS} UIMAGE_LOADADDR=0x8000 uImage modules zynq-parallella.dtb
|
make ${MAKEFLAGS} UIMAGE_LOADADDR=0x8000 uImage modules zynq-parallella1-headless.dtb
|
||||||
}
|
}
|
||||||
|
|
||||||
_package() {
|
_package() {
|
||||||
|
@ -86,7 +83,7 @@ _package() {
|
||||||
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
|
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
|
||||||
make INSTALL_MOD_PATH="${pkgdir}" modules_install
|
make INSTALL_MOD_PATH="${pkgdir}" modules_install
|
||||||
cp arch/$KARCH/boot/uImage "${pkgdir}/boot/uImage"
|
cp arch/$KARCH/boot/uImage "${pkgdir}/boot/uImage"
|
||||||
cp arch/$KARCH/boot/dts/zynq-parallella.dtb "${pkgdir}/boot/devicetree.dtb"
|
cp arch/$KARCH/boot/dts/zynq-parallella1-headless.dtb "${pkgdir}/boot/devicetree.dtb"
|
||||||
|
|
||||||
# set correct depmod command for install
|
# set correct depmod command for install
|
||||||
sed \
|
sed \
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -2,7 +2,7 @@
|
||||||
# arg 2: the old package version
|
# arg 2: the old package version
|
||||||
|
|
||||||
KERNEL_NAME=-parallella
|
KERNEL_NAME=-parallella
|
||||||
KERNEL_VERSION=3.12.0-1-ARCH
|
KERNEL_VERSION=3.14.12-parallella-1-ARCH
|
||||||
|
|
||||||
post_install () {
|
post_install () {
|
||||||
# updating module dependencies
|
# updating module dependencies
|
||||||
|
|
Loading…
Reference in a new issue