mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
linux-omap to 3.5.4-1
This commit is contained in:
parent
9560651f41
commit
a25b9d688a
4 changed files with 243 additions and 270 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Maintainer: Kevin Mihelich <kevin@archlniuxarm.org>
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
|
||||||
# OMAP 3/4 kernel and headers
|
# OMAP 3/4 kernel and headers
|
||||||
# - note: any other kernel packages should include headers for that march
|
# - note: any other kernel packages should include headers for that march
|
||||||
|
@ -10,7 +10,7 @@ pkgbase=linux-omap
|
||||||
pkgname=('linux-omap' 'linux-headers-omap')
|
pkgname=('linux-omap' 'linux-headers-omap')
|
||||||
# pkgname=linux-custom # Build kernel with a different name
|
# pkgname=linux-custom # Build kernel with a different name
|
||||||
_kernelname=${pkgname#linux}
|
_kernelname=${pkgname#linux}
|
||||||
_basekernel=3.4
|
_basekernel=3.5
|
||||||
pkgver=${_basekernel}.4
|
pkgver=${_basekernel}.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('arm')
|
arch=('arm')
|
||||||
|
@ -18,18 +18,18 @@ url="http://www.kernel.org/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage')
|
makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.xz"
|
source=("http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_basekernel}.tar.xz"
|
||||||
"ftp://ftp.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.bz2"
|
"ftp://ftp.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.bz2"
|
||||||
"rcn-ee.diff.gz::http://rcn-ee.net/deb/sid-armhf/v3.4.4-x1/patch-3.4.4-x1.diff.gz"
|
"rcn-ee.diff.gz::http://rcn-ee.net/deb/sid-armhf/v3.5.4-x6/patch-3.5.4-x6.diff.gz"
|
||||||
'config'
|
'config'
|
||||||
'change-default-console-loglevel.patch'
|
'change-default-console-loglevel.patch'
|
||||||
'aufs3-3.4.patch.xz')
|
'aufs3-3.5.patch.xz')
|
||||||
md5sums=('967f72983655e2479f951195953e8480'
|
md5sums=('24153eaaa81dedc9481ada8cd9c3b83d'
|
||||||
'51d5b74c3523c5dd8d0f4d1a7abb68be'
|
'acdc8bd66d35c95eb364f4ab465354e9'
|
||||||
'37ba6fc85bd4e4fde310a2bf00f84b78'
|
'1c8e8be9a6000a27fc1abeae86e67390'
|
||||||
'7dfd524e5b8ac2aee16648024ecc0b8c'
|
'b3bdaccc3723db467a9e92b17103d30e'
|
||||||
'9d3c56a4b999c8bfbd4018089a62f662'
|
'9d3c56a4b999c8bfbd4018089a62f662'
|
||||||
'852ba24ebd20ca85f8bbee03243ccf91')
|
'227356bd0efdc6b9a6925d46b3701141')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/linux-${_basekernel}"
|
cd "${srcdir}/linux-${_basekernel}"
|
||||||
|
@ -46,7 +46,7 @@ build() {
|
||||||
|
|
||||||
# ALARM patches
|
# ALARM patches
|
||||||
patch -Np1 -i "${srcdir}/rcn-ee.diff"
|
patch -Np1 -i "${srcdir}/rcn-ee.diff"
|
||||||
patch -Np1 -i "${srcdir}/aufs3-3.4.patch"
|
patch -Np1 -i "${srcdir}/aufs3-3.5.patch"
|
||||||
|
|
||||||
cat "${srcdir}/config" > ./.config
|
cat "${srcdir}/config" > ./.config
|
||||||
|
|
||||||
|
@ -188,7 +188,7 @@ package_linux-headers-omap() {
|
||||||
|
|
||||||
cp drivers/media/video/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/"
|
cp drivers/media/video/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/"
|
||||||
|
|
||||||
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102; do
|
for i in bt8xx cpia2 cx25840 cx88 em28xx pwc saa7134 sn9c102; do
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
|
||||||
cp -a drivers/media/video/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
|
cp -a drivers/media/video/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
|
||||||
done
|
done
|
||||||
|
|
Binary file not shown.
BIN
core/linux-omap/aufs3-3.5.patch.xz
Normal file
BIN
core/linux-omap/aufs3-3.5.patch.xz
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue