From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id 79DFA8E64 for ; Thu, 21 Jan 2016 06:15:24 +0100 (CET) Received: from mhall-osx-home.local (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id 7F3D1BF; Thu, 21 Jan 2016 00:15:23 -0500 (EST) To: Thomas Monjalon References: <1453267824-2880-1-git-send-email-mhall@mhcomputing.net> <2864842.XzLbtfflbQ@xps13> From: Matthew Hall Message-ID: <56A0696A.8090506@mhcomputing.net> Date: Wed, 20 Jan 2016 21:15:22 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <2864842.XzLbtfflbQ@xps13> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] rte.extvars.mk: allow overriding RTE_SDK_BIN from the environment 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: Thu, 21 Jan 2016 05:15:24 -0000 On 1/20/16 7:27 AM, Thomas Monjalon wrote: > Hi Matthew, > > RTE_SDK_BIN is an internal variable and should not be overriden. > > Have you installed DPDK somewhere? Example: > make install O=mybuild DESTDIR=mylocalinstall > > Then you should build your app like this: > make RTE_SDK=$(readlink -e ../dpdk/mylocalinstall/usr/local/share/dpdk) Hello Thomas, Is the way the make install target really works documented somewhere? This target did not exist when I first used DPDK in 2011, and since then I saw various documentation on building DPDK in various places, but not that much explanation what make install actually does. I recall various list threads about changing its behavior as well. For example, if I look at this apparently most official document: http://dpdk.org/doc/guides/linux_gsg/build_dpdk.html It has build examples such as: make install T=x86_64-native-linuxapp-gcc But it does not discuss "O=" or "DESTDIR=" or any other additional options. From some experiments on my machine, it looks like maybe I could do this: make install "T=${RTE_TARGET}" "O=build" "DESTDIR=build" Is that a valid possibility, to keep it all in one easy directory? Thanks, Matthew.