
3-6
Chapter 3: Driver installation
rpm -bb SPECS/netxtreme2.spec
or
(For RPM version 4.x.x)
rpmbuild -bb SPECS/netxtreme2.spec
Note that the RPM path is different for different Linux distributions.
The driver will be compiled for the running kernel by default. To build the driver for a
kernel different than the running one, specify the kernel by defining it in KVER:
rpmbuild -bb SPECS/netxtreme2.spec --define “KVER <kernel
version>”
<kernel version> in the form of
2.x.y-z
is the version of another kernel that is installed
on the system.
3.
Install the newly built package (driver and main page):
For Red Hat Linux:
For SuSE Linux: