summaryrefslogtreecommitdiffstats
path: root/base/kernel-34
diff options
context:
space:
mode:
Diffstat (limited to 'base/kernel-34')
-rw-r--r--base/kernel-34/Pkgfile27
1 files changed, 14 insertions, 13 deletions
diff --git a/base/kernel-34/Pkgfile b/base/kernel-34/Pkgfile
index d1b8181d7..320aa7827 100644
--- a/base/kernel-34/Pkgfile
+++ b/base/kernel-34/Pkgfile
@@ -1,4 +1,4 @@
-# Description: Le kernel
+# Description: Le kernel version support à long terme
# URL: http://www.kernel.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
@@ -86,18 +86,19 @@ SYSSRC=$SRC/linux-${_BaseVersion} make module
install -m 0644 -D nvidia.ko $PKG/lib/modules/${_BaseVersion}/kernel/drivers/zzzz/nvidia.ko
# Module ati
-# cd $SRC
-# sh ati-driver-installer-${ATI_VERSION/./-}-x86.x86_64.run --extract ati
-# cd ati
-# patch -Np1 -i ../makefile_compat.patch
-# patch -Np1 -i ../2.6.39_bkl.patch
-# patch -Np1 -i ../no_bkl.patch
-# cd common/lib/modules/fglrx/build_mod
-# cp 2.6.x/Makefile .
-# cp $SRC/ati/arch/${_ARCH}/lib/modules/fglrx/build_mod/libfglrx_ip.a .
-# make -C $SRC/linux-${_BaseVersion} SUBDIRS="`pwd`" modules
-# install -m 0644 -D fglrx.ko $PKG/lib/modules/${_BaseVersion}/kernel/drivers/zzzz/fglrx.ko
-
+if [ "${_ARCH}" == "x86" ]; then
+ cd $SRC
+ sh ati-driver-installer-${ATI_VERSION/./-}-x86.x86_64.run --extract ati
+ cd ati
+# patch -Np1 -i ../makefile_compat.patch
+# patch -Np1 -i ../2.6.39_bkl.patch
+# patch -Np1 -i ../no_bkl.patch
+ cd common/lib/modules/fglrx/build_mod
+ cp 2.6.x/Makefile .
+ cp $SRC/ati/arch/${_ARCH}/lib/modules/fglrx/build_mod/libfglrx_ip.a .
+ make -C $SRC/linux-${_BaseVersion} SUBDIRS="`pwd`" modules
+ install -m 0644 -D fglrx.ko $PKG/lib/modules/${_BaseVersion}/kernel/drivers/zzzz/fglrx.ko
+fi
# Modules VB
cd $SRC
sh VirtualBox-${VB_VERSION}-${VB_BUILD}-Linux_${VB_ARCH}.run --target vb --keep --noexec