From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH] Add error message when trying to use make option T= during build/clean Date: Wed, 21 Oct 2015 21:27:20 +0200 Message-ID: <5627E718.8090809@6wind.com> References: <1443542682-7088-1-git-send-email-francesco.montorsi@gmail.com> <561D05A4.2060708@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Francesco 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) In-Reply-To: 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" 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