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 ADF118D94 for ; Tue, 22 Sep 2015 10:16:50 +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 1ZeIl4-0007Aw-R2; Tue, 22 Sep 2015 10:17:03 +0200 Message-ID: <56010E6B.6070703@6wind.com> Date: Tue, 22 Sep 2015 10:16:43 +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: Mario Carrillo , dev@dpdk.org References: <1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com> In-Reply-To: <1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 0/7] Add hierarchical support to make install 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: Tue, 22 Sep 2015 08:16:50 -0000 Hi Mario, On 09/18/2015 10:33 PM, Mario Carrillo wrote: > DPDK package lacks of a mechanism to install libraries, headers > applications and kernel modules to a file system tree. > > This patch set allows to install files according to the next > proposal: > http://www.freedesktop.org/software/systemd/man/file-hierarchy.html > > By adding a parameter H=1 (hierarchy-file) to makefile system, it is > possible to do the next steps > > make config T=TARGET > make > make install H=1 The current "install" target is not designed to work on one build directory. Instead, it takes as a parameter a list of config templates, and the build directory is the name of the target. Today, we have: make install T="*-native-linuxapp-gcc" is somehow equivalent to: make config T=i686-native-linuxapp-gcc O=i686-native-linuxapp-gcc make O=i686-native-linuxapp-gcc make config T=x86_32-native-linuxapp-gcc O=x86_32-native-linuxapp-gcc make O=x86_32-native-linuxapp-gcc make config T=x86_64-native-linuxapp-gcc O=x86_64-native-linuxapp-gcc make O=x86_64-native-linuxapp-gcc The "install H=1" directive you are adding seems to implicitly be working on a build directory (modifiable with O=), which is the case for the "make" command but not for the current "make install". I'm in favor of having different command names for installing a binary sdk and for installing the runtime libs in the hierarchical file system, this to avoid having different behaviors for the same name. Regards, Olivier