From d59833a5aebcbac05e3f3526e335eca5e1694f77 Mon Sep 17 00:00:00 2001 From: tnut Date: Fri, 1 Jul 2011 19:39:22 +0200 Subject: kernel-34, correction description et ajustement Pkgfile --- base/kernel-34/Pkgfile | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'base/kernel-34') 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 -- cgit v1.2.3-54-g00ecf