Files
Arch-R/packages/sysutils/pciutils/build
Stephan Raue 5b04693940 pciutils:
- use systems optimization
2010-06-05 08:24:23 +02:00

24 lines
424 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/build toolchain
PKG_DIR=`find $PACKAGES -type d -name $1`
cd $PKG_BUILD
make OPT="$TARGET_CFLAGS" \
CROSS_COMPILE=${TARGET_PREFIX} \
HOST=$TARGET_ARCH-linux \
IDSDIR="/usr/share" \
ZLIB=no \
DNS=no \
PREFIX=/usr \
make PREFIX=/usr \
IDSDIR="/usr/share" \
DESTDIR=$SYSROOT_PREFIX install-lib
./update-pciids.sh || cp $ROOT/$PKG_DIR/pci.ids .