From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 439A88D89 for ; Fri, 16 Oct 2015 21:31:24 +0200 (CEST) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1ZnAjD-0002aZ-V2; Fri, 16 Oct 2015 21:31:48 +0200 Message-ID: <56215084.9060201@6wind.com> Date: Fri, 16 Oct 2015 21:31:16 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Mario Carrillo , dev@dpdk.org 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-7-git-send-email-mario.alfredo.c.arevalo@intel.com> In-Reply-To: <1444076406-30141-7-git-send-email-mario.alfredo.c.arevalo@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 6/7] mk: Add rule for installing sdk files 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: Fri, 16 Oct 2015 19:31:24 -0000 Hi Panu, On 10/05/2015 10:20 PM, Mario Carrillo wrote: > Add hierarchy-file support to the DPDK makefiles, scripts, > examples, tools, config files and headers. > > When invoking "make install-sdk" makefiles, scripts, > examples, tools, config files will be installed in: > $(DESTDIR)/$(SDK_DIR) > and headers will be installed in: > $(DESTDIR)/$(INCLUDE_DIR) > > Where SDK_DIR=/usr/share/dpdk and INCLUDE_DIR=/usr/include/dpdk > by default. > > You can overrite SDK_DIR and INCLUDE_DIR vars. > This hierarchy is based on: > http://www.freedesktop.org/software/systemd/man/file-hierarchy.html > > Signed-off-by: Mario Carrillo I don't know if it's feasible, but I think it would be great here to be able to install a SDK that is usable to build external applications. I mean, doing something like that: make install-sdk DESTDIR=/tmp/sdk cd /path/to/examples/helloworld make RTE_SDK=/tmp/sdk/usr/share/dpdk Else, what is the purpose of installing the sdk? Regards, Olivier