add pciutils v2.2.1

SVN-Revision: 3077
master
Imre Kaloz 19 years ago
parent 42fe2162ee
commit 7395058d68
  1. 1
      openwrt/package/Config.in
  2. 7
      openwrt/package/pciutils/Config.in
  3. 35
      openwrt/package/pciutils/Makefile
  4. 4
      openwrt/package/pciutils/ipkg/pciutils.control

@ -256,6 +256,7 @@ source "package/bc/Config.in"
source "package/gdbserver/Config.in"
source "package/pcmcia-cs/Config.in" # pcmcia-utils
source "package/usbutils/Config.in" # lsusb
source "package/pciutils/Config.in"
source "package/strace/Config.in"
source "package/udev/Config.in"
source "package/watchdog/Config.in"

@ -0,0 +1,7 @@
config BR2_PACKAGE_PCIUTILS
prompt "pciutils.......................... Linux PCI Utilities"
tristate
default m if CONFIG_DEVEL
help
This package contains various utilities for inspecting and setting of
devices connected to the PCI bus.

@ -0,0 +1,35 @@
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=pciutils
PKG_VERSION:=2.2.1
PKG_RELEASE:=1
PKG_MD5SUM:=c18e2a5f04e9abae5a42439de294f086
PKG_SOURCE_URL:=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,PCIUTILS,pciutils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" IDSDIR="/usr/share" HOST=$(GNU_TARGET_NAME)
touch $@
$(IPKG_PCIUTILS):
install -d -m0755 $(IDIR_PCIUTILS)/usr/sbin
install -d -m0755 $(IDIR_PCIUTILS)/usr/share
cp -fpR $(PKG_BUILD_DIR)/{lspci,setpci} $(IDIR_PCIUTILS)/usr/sbin/
cp -fpR $(PKG_BUILD_DIR)/pci.ids $(IDIR_PCIUTILS)/usr/share/
$(RSTRIP) $(IDIR_PCIUTILS)/
$(IPKG_BUILD) $(IDIR_PCIUTILS) $(PACKAGE_DIR)

@ -0,0 +1,4 @@
Package: pciutils
Priority: optional
Section: sys
Description: Linux PCI Utilities
Loading…
Cancel
Save