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 at 6wind.com> --- mk/rte.sdkinstall.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 3daf241..884c915 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -58,6 +58,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 @@ -118,6 +119,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/*),) -- 2.5.2