From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id AE9F78DB2 for ; Wed, 2 Dec 2015 10:58:42 +0100 (CET) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 70E99C0CC626; Wed, 2 Dec 2015 09:58:41 +0000 (UTC) Received: from sopuli.koti.laiskiainen.org (vpn1-7-93.ams2.redhat.com [10.36.7.93]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tB29wdAY020643; Wed, 2 Dec 2015 04:58:40 -0500 To: Thomas Monjalon , dev@dpdk.org References: <1449028676-19232-1-git-send-email-thomas.monjalon@6wind.com> <1449028676-19232-8-git-send-email-thomas.monjalon@6wind.com> From: Panu Matilainen Message-ID: <565EC0CF.6070600@redhat.com> Date: Wed, 2 Dec 2015 11:58:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1449028676-19232-8-git-send-email-thomas.monjalon@6wind.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Subject: Re: [dpdk-dev] [PATCH 07/10] mk: install binding tool in sbin directory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2015 09:58:43 -0000 On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > 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 > --- > mk/rte.sdkinstall.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk > index 46253ff..d6df30c 100644 > --- a/mk/rte.sdkinstall.mk > +++ b/mk/rte.sdkinstall.mk > @@ -38,6 +38,7 @@ prefix ?= /usr/local > exec_prefix ?= $(prefix) > kerneldir ?= $(exec_prefix)/kmod > bindir ?= $(exec_prefix)/bin > +sbindir ?= $(exec_prefix)/sbin > libdir ?= $(exec_prefix)/lib > includedir ?= $(prefix)/include/dpdk > datarootdir ?= $(prefix)/share > @@ -106,6 +107,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)/dpdk_nic_bind.py, \ > + $(DESTDIR)$(sbindir)/dpdk_nic_bind) > > install-kmod: > ifneq '$(wildcard $O/kmod/*)' '' > This symlink is broken, it expects dpdk_nic_bind.py to reside in $(datadir) root when it actually is in $(datadir)/tools/ Other than that, getting rid of the .py suffix is a nice touch. - Panu -