summaryrefslogtreecommitdiff
path: root/package/pciutils/pciutils.mk
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2009-01-01 17:28:51 +0000
committerNigel Kukard <nkukard@lbsd.net>2009-01-01 17:28:51 +0000
commit94e6f8a4db13e726dc2fe393e7181ba2f2db4fbb (patch)
treef239c2fc16169f9fcc0a75e11fb1e4bddd2d97b7 /package/pciutils/pciutils.mk
parent2ac7adce281f854ddca26a3bfaf2cc129ad509bd (diff)
* Removed duplicate PCIUTILS_VERSION
* When installing pci.ids[.gz] the -D means create all components leading up, using $(@D) does not include the filename, the last directory component is then /usr/share. pci.ids[.gz] is therefore created as /usr/share/misc (misc being the filename). Using $@ fixes this, the directory path is created and the file is installed as /usr/share/misc/pci.ids[.gz] .
Diffstat (limited to 'package/pciutils/pciutils.mk')
-rw-r--r--package/pciutils/pciutils.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk
index 784985e7c..f9cc6bc86 100644
--- a/package/pciutils/pciutils.mk
+++ b/package/pciutils/pciutils.mk
@@ -3,7 +3,6 @@
# pciutils
#
#############################################################
-PCIUTILS_VERSION:=2.2.10
PCIUTILS_VERSION:=3.0.1
PCIUTILS_SOURCE:=pciutils-$(PCIUTILS_VERSION).tar.gz
PCIUTILS_CAT:=$(ZCAT)
@@ -55,7 +54,7 @@ $(TARGET_DIR)/sbin/setpci: $(PCIUTILS_DIR)/.compiled
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
$(TARGET_DIR)/usr/share/misc/$(PCIIDS_FILE): $(PCIUTILS_DIR)/.unpacked
- $(INSTALL) -D $(PCIUTILS_DIR)/$(PCIIDS_FILE) $(@D)
+ $(INSTALL) -D $(PCIUTILS_DIR)/$(PCIIDS_FILE) $@
pciutils: uclibc $(if $(BR2_PACKAGE_ZLIB),zlib) $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/usr/share/misc/$(PCIIDS_FILE)