diff options
-rw-r--r-- | base/kernel/Pkgfile | 4 |
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 |