[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fglrx-installer 3.9.0-4
- From: Flavio Stanchina <flavio at stanchina dot net>
- Date: Thu, 03 Jun 2004 14:26:10 +0200
I integrated some ideas I had put in the fglrx-build.sh script into the
suppied make.sh script, so you can use it to build a module for the
running kernel. You can now build a module in several ways:
1) Use the supplied make.sh script. This will build a module that
matches the running kernel; you need to have the correct kernel
source and configuration in place.
2) Use the following commands (only on kernel 2.6.x):
$ cd /usr/src/modules/fglrx-<x>-<y>
$ make -C /usr/src/linux SUBDIRS=$(PWD) modules
(replace /usr/src/linux with the path to your kernel sources)
3) Use make-kpkg as described on my page.
If you go for the latter, you'll have a nice Debian package to install;
otherwise, you'll have to copy the module to the right directory under
/lib/modules, then run 'depmod -ae' and 'modprobe fglrx' to load it.
You can also build a module for an installed, but not running kernel
with the following command:
$ uname_r='2.4.26-athlon' ./make.sh
...and if you have the sources but you don't have it installed (say, you
built a kernel for another machine), use this:
$ KERNEL_PATH=/usr/src/linux-2.4.26+686smp \
uname_r='2.4.26-686smp' ./make.sh
Changelog:
* Changes to the module's make.sh:
- restored some sections that I removed in previous versions, so
you can use make.sh to build a module for the running kernel;
- detect CPU arch and SMP by loading the kernel's .config;
- fixed some probing that I can only describe as "brain-damaged".
* Changes to the module's Makefile for 2.6.x:
- moved out of the 2.6.x directory so it doesn't need to create
symlinks.
--
Ciao, Flavio