summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-02 19:04:15 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-02 19:04:15 +0100
commit4f42d4ed83adc76a33de3bf6efdd600176ce2b98 (patch)
tree02cf157eff729f12a6bad2c1ddf1b0152ee21df6
parentd7234d92f97bd7b06b1a74858d915908b28bf8ec (diff)
downloadabslibre-4f42d4ed83adc76a33de3bf6efdd600176ce2b98.tar.gz
abslibre-4f42d4ed83adc76a33de3bf6efdd600176ce2b98.tar.bz2
abslibre-4f42d4ed83adc76a33de3bf6efdd600176ce2b98.zip
Update linux-libre to 3.2.9, don't fetch mips64el patches on non-mips64el.
-rw-r--r--libre/linux-libre/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index e0220e8fd..d1ef7da22 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=('linux-libre' 'linux-libre-headers' 'linux-libre-docs') # Build stock -
# pkgname=linux-custom # Build kernel with a different name
_kernelname=${pkgname#linux-libre}
_basekernel=3.2
-pkgver=${_basekernel}.7
+pkgver=${_basekernel}.9
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
@@ -19,7 +19,6 @@ makedepends=('xmlto' 'docbook-xsl')
options=('!strip')
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-libre/linux-${_basekernel}-libre.tar.xz"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/patch-${_basekernel}-libre-${pkgver}-libre.xz"
- "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/linux-patches-${pkgver}-libre-lemote_0lxo_mipsel.tar.bz2"
# the main kernel config files
'config.i686' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
@@ -29,10 +28,10 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-li
'boot-logo.patch'
'change-default-console-loglevel.patch'
'i915-fix-ghost-tv-output.patch'
- 'i915-gpu-finish.patch')
+ 'i915-gpu-finish.patch'
+ "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/linux-patches-${pkgver}-libre-lemote_0lxo_mipsel.tar.bz2")
md5sums=('27c641c4f6785fc647cdd3e44963a55c'
- '37a0fdc7ad19c9489faf09925b4fae5b'
- '690e6201d219638544d2fba3996dc822'
+ '8e601878ccdd37111cc84500ebd81387'
'79db8a444fd149e409f706830d8cee9a'
'e26dbcb367a2b48f5ed09560e2ae8fa0'
'a8a3843046926eb7ab81312cd438c5c5'
@@ -41,7 +40,13 @@ md5sums=('27c641c4f6785fc647cdd3e44963a55c'
'04b21c79df0a952c22d681dd4f4562df'
'9d3c56a4b999c8bfbd4018089a62f662'
'263725f20c0b9eb9c353040792d644e5'
- '4cd79aa147825837dc8bc9f6b736c0a0')
+ '4cd79aa147825837dc8bc9f6b736c0a0'
+ '690e6201d219638544d2fba3996dc822')
+if [ "$CARCH" != "mips64el" ]; then
+ # Don't use the Loongson-specific patches on non-mips64el arches.
+ unset source[${#source[@]}-1]
+ unset md5sums[${#md5sums[@]}-1]
+fi
build() {
cd "${srcdir}/linux-${_basekernel}"