From 4636fe8a406b32728ef1e42021f8e56198d99a97 Mon Sep 17 00:00:00 2001 From: tnut Date: Wed, 29 Jun 2011 19:09:51 +0200 Subject: kernel, ajout pilote ati --- base/kernel/Pkgfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'base/kernel/Pkgfile') diff --git a/base/kernel/Pkgfile b/base/kernel/Pkgfile index 25ef9eb69..7c67c35f6 100644 --- a/base/kernel/Pkgfile +++ b/base/kernel/Pkgfile @@ -34,6 +34,7 @@ source=(http://download.virtualbox.org/virtualbox/${VB_VERSION}/VirtualBox-${VB_ http://nutyx.meticul.eu/files/nutyx-initrd-`uname -m`-${_extra}.tar.bz2\ http://nutyx.meticul.eu/files/installtools-${_tools}.tar.bz2) build(){ +unset MAKEFLAGS for i in setup-install setup-mirroir do sed -i "s|#INSTALL#|install-$SCRIPT_VERSION.ash|" \ @@ -91,11 +92,12 @@ install -m 0644 -D nvidia.ko $PKG/lib/modules/${_BaseVersion}/kernel/drivers/zzz 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/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a . +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 -- cgit v1.2.3-70-g09d2