core/linux-omap to 3.4.4-1

This commit is contained in:
Kevin Mihelich 2012-07-16 16:38:16 -04:00
parent 7bb76954e3
commit 68a9e5a160
3 changed files with 11 additions and 20 deletions

View file

@ -11,7 +11,7 @@ pkgname=('linux-omap' 'linux-headers-omap')
# pkgname=linux-custom # Build kernel with a different name
_kernelname=${pkgname#linux}
_basekernel=3.4
pkgver=${_basekernel}.3
pkgver=${_basekernel}.4
pkgrel=1
arch=('arm')
url="http://www.kernel.org/"
@ -20,14 +20,14 @@ makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage')
options=('!strip')
source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.xz"
"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.3-x0/patch-3.4.3-x0.diff.gz"
"rcn-ee.diff.gz::http://rcn-ee.net/deb/sid-armhf/v3.4.4-x1/patch-3.4.4-x1.diff.gz"
'config'
'change-default-console-loglevel.patch'
'aufs3-3.4.patch.xz')
md5sums=('967f72983655e2479f951195953e8480'
'5362b86a64c0c088852277a6ea5d1b2c'
'7828ee186d952defb047cf80f38fdedd'
'1f1e85739b303f4faff37e94b22bf1e1'
'51d5b74c3523c5dd8d0f4d1a7abb68be'
'37ba6fc85bd4e4fde310a2bf00f84b78'
'7dfd524e5b8ac2aee16648024ecc0b8c'
'9d3c56a4b999c8bfbd4018089a62f662'
'852ba24ebd20ca85f8bbee03243ccf91')
@ -53,9 +53,6 @@ build() {
# set extraversion to pkgrel
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
# get kernel version
make prepare
@ -122,12 +119,6 @@ package_linux-omap() {
# add real version for building modules and running depmod from post_install/upgrade
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}-${_kernelname:-ARCH}"
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}-${_kernelname:-ARCH}/version"
# move module tree /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"
# Now we call depmod...
depmod -b "$pkgdir" -F System.map "$_kernver"
}
package_linux-headers-omap() {
@ -136,10 +127,10 @@ package_linux-headers-omap() {
conflicts=('kernel26-headers-omap' 'linux-headers-tegra')
replaces=('kernel26-headers-omap')
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
mkdir -p "${pkgdir}/lib/modules/${_kernver}"
cd "${pkgdir}/usr/lib/modules/${_kernver}"
ln -sf ../../../src/linux-${_kernver} build
cd "${pkgdir}/lib/modules/${_kernver}"
ln -sf ../../../usr/src/linux-${_kernver} build
cd "${srcdir}/linux-${_basekernel}"
install -D -m644 Makefile \

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.4.1 Kernel Configuration
# Linux/arm 3.4.4 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@ -344,7 +344,7 @@ CONFIG_ARCH_OMAP2PLUS=y
#
CONFIG_OMAP_SMARTREFLEX=y
CONFIG_OMAP_SMARTREFLEX_CLASS3=y
CONFIG_OMAP_RESET_CLOCKS=y
# CONFIG_OMAP_RESET_CLOCKS is not set
CONFIG_OMAP_MUX=y
CONFIG_OMAP_MUX_DEBUG=y
CONFIG_OMAP_MUX_WARNINGS=y

View file

@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=-omap
KERNEL_VERSION=3.4.3-1-ARCH
KERNEL_VERSION=3.4.4-1-ARCH
post_install () {
# updating module dependencies