summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2015-12-01 23:59:18 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-12-06 15:41:04 +0100
commit89fd88459715e5f196370b8bde0b92a69bc88c0b (patch)
tree5d91e647260bf6de52cda16838e28c6f7e07dbbe /mk
parent3967af352aeb8bf171af7be8d71dd84e46e8d4be (diff)
downloaddpdk-89fd88459715e5f196370b8bde0b92a69bc88c0b.zip
dpdk-89fd88459715e5f196370b8bde0b92a69bc88c0b.tar.gz
dpdk-89fd88459715e5f196370b8bde0b92a69bc88c0b.tar.xz
mk: install binding tool in sbin directory
sbin/dpdk_nic_bind is a symbolic link to tools/dpdk_nic_bind.py where some python objects may be generated. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Panu Matilainen <pmatilai@redhat.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.sdkinstall.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk
index 30dea0f..0667b70 100644
--- a/mk/rte.sdkinstall.mk
+++ b/mk/rte.sdkinstall.mk
@@ -60,6 +60,7 @@ prefix ?= /usr/local
endif
exec_prefix ?= $(prefix)
bindir ?= $(exec_prefix)/bin
+sbindir ?= $(exec_prefix)/sbin
libdir ?= $(exec_prefix)/lib
includedir ?= $(prefix)/include/dpdk
datarootdir ?= $(prefix)/share
@@ -120,6 +121,9 @@ install-runtime:
--keep-newer-files --warning=no-ignore-newer
$(Q)$(call rte_mkdir, $(DESTDIR)$(datadir))
$(Q)cp -a $(RTE_SDK)/tools $(DESTDIR)$(datadir)
+ $(Q)$(call rte_mkdir, $(DESTDIR)$(sbindir))
+ $(Q)$(call rte_symlink, $(DESTDIR)$(datadir)/tools/dpdk_nic_bind.py, \
+ $(DESTDIR)$(sbindir)/dpdk_nic_bind)
install-kmod:
ifneq ($(wildcard $O/kmod/*),)