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 9D76DC480 for ; Wed, 21 Oct 2015 21:27:26 +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 1Zoz3B-0007OL-MA; Wed, 21 Oct 2015 21:27:54 +0200 Message-ID: <5627E718.8090809@6wind.com> Date: Wed, 21 Oct 2015 21:27:20 +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: Francesco References: <1443542682-7088-1-git-send-email-francesco.montorsi@gmail.com> <561D05A4.2060708@6wind.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] Add error message when trying to use make option T= during build/clean 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: Wed, 21 Oct 2015 19:27:26 -0000 Hi Francesco, On 10/14/2015 10:02 AM, Francesco wrote: > Hi Olivier, > thanks for reviewing the patch. However for me it is logical that T= > option is used for "config" target and then for building/cleaning only > O= is used. However it is not logical for me that install target > requires T= option instead of O= option... or perhaps I'm missing something? Actually, the current behavior of install target is to build one or several targets from templates given in the T=. To be clear, this line: make install T=*-native-linuxapp-gcc is equivalent to: make config T=i686-native-linuxapp-gcc O=i686-native-linuxapp-gcc make O=i686-native-linuxapp-gcc make config T=x86_64-native-linuxapp-gcc O=x86_64-native-linuxapp-gcc make O=x86_64-native-linuxapp-gcc make config T=x86_x32-native-linuxapp-gcc O=x86_x32-native-linuxapp-gcc make O=x86_x32-native-linuxapp-gcc The target name "install" is probably not well chosen, and that's probably why you are confused. Mario is currently reworking the Makefiles to support the installation of DPDK into a hierachical file system: http://dpdk.org/ml/archives/dev/2015-October/024686.html http://dpdk.org/ml/archives/dev/2015-October/025432.html Regards, Olivier