summaryrefslogtreecommitdiffstats
path: root/base/kernel/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/kernel/Pkgfile')
-rw-r--r--base/kernel/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/base/kernel/Pkgfile b/base/kernel/Pkgfile
index ca12e0c22..227a85fed 100644
--- a/base/kernel/Pkgfile
+++ b/base/kernel/Pkgfile
@@ -1,19 +1,19 @@
-# Description: Le kernel
+# Description: Le kernel version 2.6.35
# URL: http://www.kernel.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-name=kernel
-version=2.6.34.7
-_BaseVersion=2.6.34
+name=kernel-35
+version=2.6.35.7
+_BaseVersion=2.6.35
release=1
PKGMK_NO_STRIP="yes"
source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_BaseVersion}.tar.bz2 config_64 config\
http://www.kernel.org/pub/linux/kernel/v2.6/patch-$version.bz2)
-
build(){
bzip2 -d patch-$version.bz2
cd linux-${_BaseVersion}
+
make mrproper
case `uname -m` in
x86_64)
@@ -36,6 +36,7 @@ case `uname -m` in
$PKG/boot/kernel_64-$version
ln -sf kernel_64-$version \
$PKG/boot/kernel_64 ;;
+
i?86)
cp System.map \
$PKG/boot/System.map-$version
@@ -62,4 +63,5 @@ mkdir $PKG/usr/src/linux-${_BaseVersion}/arch
mv $SRC/linux-${_BaseVersion}/arch/x86 $PKG/usr/src/linux-${_BaseVersion}/arch
mv $SRC/linux-${_BaseVersion}/vmlinux $PKG/usr/src/linux-${_BaseVersion}/
mv $SRC/linux-${_BaseVersion}/Module.symvers $PKG/usr/src/linux-${_BaseVersion}/
+rm -r $PKG/lib/firmware
}