From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v4 2/7] mk: Add rule for installing app files Date: Fri, 16 Oct 2015 21:30:30 +0200 Message-ID: <56215056.9050201@6wind.com> References: <1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com> <1444076406-30141-1-git-send-email-mario.alfredo.c.arevalo@intel.com> <1444076406-30141-3-git-send-email-mario.alfredo.c.arevalo@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Mario Carrillo , dev@dpdk.org Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id E5C8C8D89 for ; Fri, 16 Oct 2015 21:30:36 +0200 (CEST) In-Reply-To: <1444076406-30141-3-git-send-email-mario.alfredo.c.arevalo@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Mario, On 10/05/2015 10:20 PM, Mario Carrillo wrote: > Add hierarchy-file support to the DPDK app files, > nic bind file and cpu layout file. > > When invoking "make install-bin" app files will > be installed in: $(DESTDIR)/$(BIN_DIR) > where BIN_DIR=/usr/bin by default. > > You can override BIN_DIR var. > This hierarchy is based on: > http://www.freedesktop.org/software/systemd/man/file-hierarchy.html > > Signed-off-by: Mario Carrillo > --- > mk/rte.sdkinstall.mk | 16 ++++++++++++++++ > mk/rte.sdkroot.mk | 4 ++-- > 2 files changed, 18 insertions(+), 2 deletions(-) > > diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk > index f016171..cfcdb25 100644 > --- a/mk/rte.sdkinstall.mk > +++ b/mk/rte.sdkinstall.mk > @@ -43,7 +43,11 @@ ifndef T > T=* > ifneq (,$(wildcard $(BUILD_DIR)/build/.config)) > INCLUDE_DIR ?= /usr/include/dpdk > +BIN_DIR ?= /usr/bin > HSLINKS := $(wildcard $(RTE_OUTPUT)/include/*) > +BINARY_FILES := $(patsubst %.map,,$(wildcard $(RTE_OUTPUT)/app/*)) > +NIC_FILES := $(wildcard $(BUILD_DIR)/tools/*.py) To make it work with O=, I think $(BUILD_DIR) should be replaced by $(RTE_SDK). Regards, Olivier