PCI Utilities

From CBLFS
Revision as of 11:06, 24 September 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://www.kernel.org/pub/software/utils/pciutils/pciutils-2.2.3.tar.bz2

Dependencies

Non-Multilib

Compile the package:

sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh &&
make PREFIX=/usr

Install the package

make PREFIX=/usr install

Some packages require the PCI static library. To install the library and headers, issue the following commands:

install -v -m 755 -d /usr/include/pci &&
install -v -m 644 lib/libpci.a /usr/lib &&
install -v -m 644 lib/*.h /usr/include/pci

Multilib

32Bit

Compile the package:

sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh &&
make PREFIX=/usr CC="gcc ${BUILD32}"

Install the package

make PREFIX=/usr install

Some packages require the PCI static library. To install the library and headers, issue the following commands:

install -v -m 755 -d /usr/include/pci &&
install -v -m 644 lib/libpci.a /usr/lib &&
install -v -m 644 lib/*.h /usr/include/pci

N32

Compile the package:

sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh &&
make PREFIX=/usr CC="gcc ${BUILDN32}"

Install the package

make PREFIX=/usr install

Some packages require the PCI static library. To install the library and headers, issue the following commands:

install -v -m 755 -d /usr/include/pci &&
install -v -m 644 lib/libpci.a /usr/lib32 &&
install -v -m 644 lib/*.h /usr/include/pci

64Bit

Compile the package:

sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh &&
make PREFIX=/usr CC="gcc ${BUILD64}"

Install the package

make PREFIX=/usr install

Some packages require the PCI static library. To install the library and headers, issue the following commands:

install -v -m 755 -d /usr/include/pci &&
install -v -m 644 lib/libpci.a /usr/lib64 &&
install -v -m 644 lib/*.h /usr/include/pci