From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 44B7F8D99 for ; Fri, 2 Oct 2015 18:29:59 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 02 Oct 2015 09:29:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,624,1437462000"; d="scan'208";a="572900256" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 02 Oct 2015 09:29:58 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 2 Oct 2015 09:29:57 -0700 Received: from fmsmsx107.amr.corp.intel.com ([169.254.6.45]) by fmsmsx124.amr.corp.intel.com ([169.254.1.10]) with mapi id 14.03.0248.002; Fri, 2 Oct 2015 09:29:57 -0700 From: "Arevalo, Mario Alfredo C" To: Panu Matilainen , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 8/8] mk: Add rule for installing runtime files Thread-Index: AQHQ+93JptGIy+UNT0CcIb68QpJP6p5YhOeA///h5No= Date: Fri, 2 Oct 2015 16:29:56 +0000 Message-ID: <6594B51DBE477C48AAE23675314E6C460F0DBD52@fmsmsx107.amr.corp.intel.com> References: <1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com> <1443658313-11045-1-git-send-email-mario.alfredo.c.arevalo@intel.com> <1443658313-11045-9-git-send-email-mario.alfredo.c.arevalo@intel.com>, <560E6751.6090901@redhat.com> In-Reply-To: <560E6751.6090901@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.3.86.137] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 8/8] mk: Add rule for installing runtime files 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: Fri, 02 Oct 2015 16:30:00 -0000 Anwser for [PATCH v3 8/8] mk: Add rule for installing runtime files=0A= =0A= Hi Panu,=0A= =0A= Thank you for taking time in this revision :),. In this patchset=0A= I=92ve tried to keep current behavior (make install) untouched, I mean=0A= thye don't affect the current makefile rules and they work like "new featur= es".=0A= For that reason, they were created as new rules. Now you can do the next.= =0A= =0A= 1) make config T=3DTARGET (Create a build directory with config files accor= ding TARGET and directoy environment)=0A= 2) make (build dpdk binaries)=0A= and in this point, if you chose some new rule from serie of patches (instal= l-sdk, install-doc, install-bin... etc)=0A= the files that were built in the last step will be installed in paths accor= ding this site=0A= http://www.freedesktop.org/software/systemd/man/file-hierarchy.html=0A= this just will be possibe if build/.config exist.=0A= 3) However if you use last rules, they should have the previos behavior bef= ore patches.=0A= =0A= example:=0A= make install T=3Dx86_64-native-linuxapp-gcc=0A= then the makefiles are going to config, build and install dpdk in a directo= ry using TARGET as a name.=0A= =0A= thanks.=0A= Mario.=0A= ________________________________________=0A= From: Panu Matilainen [pmatilai@redhat.com]=0A= Sent: Friday, October 02, 2015 4:15 AM=0A= To: Arevalo, Mario Alfredo C; dev@dpdk.org=0A= Subject: Re: [dpdk-dev] [PATCH v3 8/8] mk: Add rule for installing runtime = files=0A= =0A= On 10/01/2015 03:11 AM, Mario Carrillo wrote:=0A= > Add hierarchy-file support to the DPDK libraries, modules,=0A= > binary files, nic bind files and documentation,=0A= > when invoking "make install-fhs" (filesystem hierarchy standard)=0A= > runtime files will be by default installed in:=0A= > $(DESTDIR)/$(BIN_DIR) where BIN_DIR=3D/usr/bin (binary files)=0A= > $(DESTDIR)/$(SBIN_DIR) where SBIN_DIR=3D/usr/sbin/dpdk_nic_bind (nic bind= =0A= > files)=0A= > $(DESTDIR)/$(DOC_DIR) where DOC_DIR=3D/usr/share/doc/dpdk (documentation)= =0A= > $(DESTDIR)/$(LIB_DIR) (libraries)=0A= > if the architecture is 64 bits then LIB_DIR=3D/usr/lib64=0A= > else LIB_DIR=3D/usr/lib=0A= > $(DESTDIR)/$(KERNEL_DIR) (modules)=0A= > if RTE_EXEC_ENV=3Dlinuxapp then=0A= > KERNEL_DIR=3D/lib/modules/$(uname -r)/build=0A= > else KERNEL_DIR=3D/boot/modules=0A= > All directory variables mentioned above can be overridden.=0A= > This hierarchy is based on:=0A= > http://www.freedesktop.org/software/systemd/man/file-hierarchy.html=0A= >=0A= =0A= Hmm, I think there's a slight misunderstanding here.=0A= =0A= What I meant earlier by install-sdk and install-fhs is to preserve the=0A= current behavior of "make install" as "make install-sdk" and have "make=0A= install-fhs" behave like normal OSS app on "make install", which=0A= installs everything (both devel and runtime parts)=0A= =0A= This patch series eliminates the current behavior of "make install"=0A= entirely. I personally would not miss it at all, but there likely are=0A= people relying on it since its quite visibly documented and all. So I=0A= think the idea was to introduce a separate FHS-installation target and=0A= then deal with the notion of default behaviors etc separately.=0A= =0A= I guess it was already this way in v2 of the series, apologies for=0A= missing it there.=0A= =0A= - Panu -=0A=