mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
kernel26-omap to 2.6.39-1
This commit is contained in:
parent
ade57e1369
commit
bec53bddd8
3 changed files with 25 additions and 3847 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,19 +1,19 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
|
||||
# Maintainer: Kevin Mihelich <kevin@plugapps.com>
|
||||
# Contributor: Julian Langschaedel <meta.rb@gmail.com>
|
||||
|
||||
# OMAP 3/4 kernel and kernel headers
|
||||
# OMAP 3/4 kernel and headers
|
||||
# - note: any other kernel packages should include headers for that march
|
||||
# - there will be no v7 kernel26 package, each march will be tagged individually
|
||||
|
||||
noautobuild=1
|
||||
plugrel=1
|
||||
|
||||
pkgbase="kernel26"
|
||||
pkgname=('kernel26-omap' 'kernel26-headers-omap')
|
||||
_kernelname=${pkgname#kernel26}
|
||||
_basekernel=2.6.38
|
||||
pkgver=${_basekernel}.6
|
||||
_pkgrel=2
|
||||
#_kernelname=${pkgname#kernel26}
|
||||
_kernelname=""
|
||||
_basekernel=2.6.39
|
||||
pkgver=${_basekernel}
|
||||
_pkgrel=1
|
||||
pkgrel=${_pkgrel}
|
||||
#pkgrel=${_pkgrel}.${plugrel}
|
||||
makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage' 'make')
|
||||
|
@ -28,11 +28,13 @@ url="http://www.kernel.org"
|
|||
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
|
||||
ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
|
||||
${_basekernel}.config
|
||||
http://rcn-ee.net/deb/maverick/v2.6.38.6-x4/patch-2.6.38.6-x4.diff.gz)
|
||||
md5sums=('7d471477bfa67546f902da62227fa976'
|
||||
'97b31ec7d377404aa6fe52a9b9682ea6'
|
||||
'7ba82a736578a3f7c327de65494ff99e'
|
||||
'ed4dc1dbcd817eedbff35eab642d614a')
|
||||
http://rcn-ee.net/deb/oneiric/v2.6.39-d6/patch-2.6.39-d6.diff.gz
|
||||
http://www.elinux.org/images/6/64/Omap44xx-i2c-fix.patch)
|
||||
md5sums=('1aab7a741abe08d42e8eccf20de61e05'
|
||||
'25bb870bed3865d3771b5e40d6dbfd50'
|
||||
'76f5305d71c1e13933614fe791d39064'
|
||||
'2ab9cbe7a613f31314aae247215b4485'
|
||||
'fc06778729a596c6ec1e1c19c732c0cf')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/linux-$_basekernel
|
||||
|
@ -40,8 +42,11 @@ build() {
|
|||
# See http://projects.archlinux.org/linux-2.6-ARCH.git/
|
||||
patch -Np1 -i ${srcdir}/${_patchname}
|
||||
|
||||
# Add rcn-ee beagleboard omap patch
|
||||
patch -Np1 -i ${srcdir}/patch-2.6.38.6-x4.diff
|
||||
# Add rcn-ee BeagleBoard OMAP patch
|
||||
patch -Np1 -i ${srcdir}/patch-2.6.39-d6.diff
|
||||
|
||||
# Add fix for OMAP4 i2c character device driver support from userspace
|
||||
patch -Np1 -i ${srcdir}/Omap44xx-i2c-fix.patch
|
||||
|
||||
# Copy in our configuration
|
||||
cp ../${_basekernel}.config ./.config
|
||||
|
@ -54,7 +59,7 @@ build() {
|
|||
#make oldconfig # using old config from previous kernel version
|
||||
|
||||
# Copy back our configuration (use with new kernel version)
|
||||
cp ./.config ../${_basekernel}.config
|
||||
#cp ./.config ../${_basekernel}.config
|
||||
|
||||
# Halt the build for configuration only
|
||||
#return 1
|
||||
|
@ -149,8 +154,8 @@ package_kernel26-headers-omap() {
|
|||
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
|
||||
done
|
||||
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
|
||||
cp -a drivers/staging/usbvideo/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
|
||||
# mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
|
||||
# cp -a drivers/staging/usbvideo/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/staging/usbvideo/
|
||||
# add docbook makefile
|
||||
install -D -m644 Documentation/DocBook/Makefile \
|
||||
${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
KERNEL_NAME=-omap
|
||||
KERNEL_VERSION=2.6.38
|
||||
KERNEL_NAME=
|
||||
KERNEL_VERSION=2.6.39
|
||||
|
||||
post_install() {
|
||||
# ARM doesn't use mkinitcpio or anything like that
|
||||
|
@ -10,7 +10,7 @@ echo "/boot/uImage to the proper location, e.g. /dev/mmcblk0p1"
|
|||
echo ""
|
||||
echo "This package is for OMAP3/4 devices, including BeagleBoard and PandaBoard"
|
||||
echo ""
|
||||
/sbin/depmod 2.6.38
|
||||
/sbin/depmod ${KERNEL_VERSION}
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
|
|
Loading…
Reference in a new issue