summaryrefslogtreecommitdiffstats
path: root/base/kernel/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-06-29 19:09:51 +0200
committertnut <tnut at nutyx dot com>2011-06-29 19:09:51 +0200
commit4636fe8a406b32728ef1e42021f8e56198d99a97 (patch)
treeb83565c045f6c9649cb2afa95240bf9a3152982f /base/kernel/Pkgfile
parent97833486b27d7db54f4041e06c28631812fb29c2 (diff)
downloadnutyx-extra-4636fe8a406b32728ef1e42021f8e56198d99a97.tar.gz
nutyx-extra-4636fe8a406b32728ef1e42021f8e56198d99a97.tar.bz2
nutyx-extra-4636fe8a406b32728ef1e42021f8e56198d99a97.tar.xz
nutyx-extra-4636fe8a406b32728ef1e42021f8e56198d99a97.zip
kernel, ajout pilote ati
Diffstat (limited to 'base/kernel/Pkgfile')
-rw-r--r--base/kernel/Pkgfile4
1 files changed, 3 insertions, 1 deletions
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