From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 00/10] standard make install Date: Wed, 02 Dec 2015 10:25:14 +0100 Message-ID: <4473021.fPPR1HZVLV@xps13> References: <1449028676-19232-1-git-send-email-thomas.monjalon@6wind.com> <565EA15A.1080902@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Panu Matilainen Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 14BFC8E58 for ; Wed, 2 Dec 2015 10:26:24 +0100 (CET) Received: by wmuu63 with SMTP id u63so206348987wmu.0 for ; Wed, 02 Dec 2015 01:26:24 -0800 (PST) In-Reply-To: <565EA15A.1080902@redhat.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" 2015-12-02 09:44, Panu Matilainen: > That aside, a bigger problem is that it doesn't seem to work. > > make clean > make config T=x86_64-native-linuxapp-gcc > make > make install DESTDIR=/tmp/dpdk-root Oh, I forgot to test the simple case where O= is not specified! It should be fixed with this change: --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -31,8 +31,10 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Build directory is given with O= -O ?= . +ifndef T +O ?= build BUILD_DIR := $O +endif prefix ?= /usr/local exec_prefix ?= $(prefix) @@ -52,6 +54,7 @@ sdkdir ?= $(datadir) # with make install T= ifdef T # The build directory is T and may be prepended with O +O ?= . BUILD_DIR := $O/$T # Default usage of T= will install an almost flat staging tree export prefix =