From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: Re: [PATCH] rte.extvars.mk: allow overriding RTE_SDK_BIN from the environment Date: Wed, 20 Jan 2016 21:15:22 -0800 Message-ID: <56A0696A.8090506@mhcomputing.net> References: <1453267824-2880-1-git-send-email-mhall@mhcomputing.net> <2864842.XzLbtfflbQ@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Thomas Monjalon 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) In-Reply-To: <2864842.XzLbtfflbQ@xps13> 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" 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.