summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-07-01 19:39:22 +0200
committertnut <tnut at nutyx dot com>2011-07-01 19:39:22 +0200
commitd59833a5aebcbac05e3f3526e335eca5e1694f77 (patch)
tree1af03d20c631c18a9e28e9b37a1d9b453f04e42a
parent2a380d592e346419b10aec7d7e150788a0a8a6a3 (diff)
downloadnutyx-extra-d59833a5aebcbac05e3f3526e335eca5e1694f77.tar.gz
nutyx-extra-d59833a5aebcbac05e3f3526e335eca5e1694f77.tar.bz2
nutyx-extra-d59833a5aebcbac05e3f3526e335eca5e1694f77.tar.xz
nutyx-extra-d59833a5aebcbac05e3f3526e335eca5e1694f77.zip
kernel-34, correction description et ajustement Pkgfile
-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