summaryrefslogtreecommitdiffstats
path: root/base/kernel/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-06-29 19:51:57 +0200
committertnut <tnut at nutyx dot com>2011-06-29 19:51:57 +0200
commit1ab484ee0ab99a7385dd8440623b59b1591f4b59 (patch)
tree2e878072dbe967fe22546833887e8bff8badfc92 /base/kernel/Pkgfile
parentf9eb2103c74ecf4d7d309f020cfa2515844359df (diff)
parent0e1629e65a35dc5e86d1969d95cb65927bb0535a (diff)
downloadnutyx-extra-1ab484ee0ab99a7385dd8440623b59b1591f4b59.tar.gz
nutyx-extra-1ab484ee0ab99a7385dd8440623b59b1591f4b59.tar.bz2
nutyx-extra-1ab484ee0ab99a7385dd8440623b59b1591f4b59.tar.xz
nutyx-extra-1ab484ee0ab99a7385dd8440623b59b1591f4b59.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
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