aboutsummaryrefslogtreecommitdiff
path: root/package/pciutils/pciutils.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-11-27 19:51:11 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-11-28 00:07:01 +0100
commitab949f9130a91182e7f01572fbf51c9a2478cb2d (patch)
tree6c47afff78ff84d0700fb7138432090897d3b612 /package/pciutils/pciutils.mk
parent387bdde5df63a10f526346fe19ea78de6e2f4e94 (diff)
downloadbuildroot-ab949f9130a91182e7f01572fbf51c9a2478cb2d.tar.gz
buildroot-ab949f9130a91182e7f01572fbf51c9a2478cb2d.tar.bz2
pciutils: install to /usr/bin rather than /usr/sbin
Somehow busybox thinks debian standards are the rule and installs lspci to /usr/bin instead of /usr/sbin where upstream says it belongs. So install pciutils binaries there as well to really win over busybox PATH-wise and overwrite the little bugger symlink. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pciutils/pciutils.mk')
-rw-r--r--package/pciutils/pciutils.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk
index 3abbf1840b..2eefdc546b 100644
--- a/package/pciutils/pciutils.mk
+++ b/package/pciutils/pciutils.mk
@@ -65,12 +65,14 @@ endef
define PCIUTILS_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \
- PREFIX=$(TARGET_DIR)/usr install install-lib install-pcilib
+ PREFIX=$(TARGET_DIR)/usr SBINDIR=$(TARGET_DIR)/usr/bin \
+ install install-lib install-pcilib
endef
define PCIUTILS_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \
- PREFIX=$(STAGING_DIR)/usr install install-lib install-pcilib
+ PREFIX=$(STAGING_DIR)/usr SBINDIR=$(STAGING_DIR)/usr/bin \
+ install install-lib install-pcilib
endef
$(eval $(generic-package))