From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id D0A165960 for ; Sat, 10 Oct 2015 19:45:19 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 10 Oct 2015 10:45:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,664,1437462000"; d="scan'208";a="823919967" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 10 Oct 2015 10:45:18 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 10 Oct 2015 10:45:18 -0700 Received: from fmsmsx107.amr.corp.intel.com ([169.254.6.163]) by FMSMSX109.amr.corp.intel.com ([169.254.15.59]) with mapi id 14.03.0248.002; Sat, 10 Oct 2015 10:45:17 -0700 From: "Arevalo, Mario Alfredo C" To: "dev@dpdk.org" Thread-Topic: [PATCH v4 0/7] Add instalation rules for dpdk files. Thread-Index: AQHQ/6tFSG0Y985yu0Cb8mj6YasTjJ5lBr+m Date: Sat, 10 Oct 2015 17:45:17 +0000 Message-ID: <6594B51DBE477C48AAE23675314E6C460F1B459A@fmsmsx107.amr.corp.intel.com> References: <1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com>, <1444076406-30141-1-git-send-email-mario.alfredo.c.arevalo@intel.com> In-Reply-To: <1444076406-30141-1-git-send-email-mario.alfredo.c.arevalo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.19.9.42] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 0/7] Add instalation rules for dpdk 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: Sat, 10 Oct 2015 17:45:20 -0000 Hi,=0A= =0A= Good day, I was wondering if someone has any comment about it :)=0A= =0A= Thank you.=0A= Mario=0A= ________________________________________=0A= From: Arevalo, Mario Alfredo C=0A= Sent: Monday, October 05, 2015 1:19 PM=0A= To: dev@dpdk.org=0A= Cc: olivier.matz@6wind.com; Arevalo, Mario Alfredo C=0A= Subject: [PATCH v4 0/7] Add instalation rules for dpdk files.=0A= =0A= DPDK package lacks of a mechanism to install libraries, headers=0A= applications, kernel modules and sdk files to a file system tree.=0A= =0A= This patch set allows to install files according to the next=0A= proposal:=0A= http://www.freedesktop.org/software/systemd/man/file-hierarchy.html=0A= however this patch set does not affect the current dpdk behavior.=0A= =0A= Using rules support is possible to do the next steps:=0A= make config T=3DTARGET=0A= make=0A= make INSTALL-TARGET=0A= =0A= v4:=0A= =0A= Modify the makefile target to specify the files=0A= that will be installed using a rule:=0A= =0A= * make install-bin (install app files)(dafault path BIN_DIR=3D/usr/bin).=0A= =0A= * make install-headers (install headers)(dafault path INCLUDE_DIR=3D/usr/in= clude/dpdk).=0A= =0A= * make install-lib (install libraries)(dafault path if the architecture is = 64 bits=0A= is LIB_DIR=3D/usr/lib64 else LIB_DIR=3D/usr/lib).=0A= =0A= * make install-doc (install documentation)(dafault path DOC_DIR=3D/usr/shar= e/doc/dpdk).=0A= =0A= * make install-mod (install modules)(dafault path if RTE_EXEC_ENV=3Dlinuxap= p then=0A= KERNEL_DIR=3D/lib/modules/$(uname -r)/extra/drivers/dpdk el= se KERNEL_DIR=3D/boot/modules).=0A= =0A= * make install-sdk (install headers, makefiles, scripts,examples, tools and= =0A= config files) (default path DATA_DIR=3D/usr/share/dpdk).=0A= =0A= * make install-fhs (install libraries, modules, app files,=0A= nic bind files and documentation).=0A= =0A= Also you can use the DESTDIR variable.=0A= =0A= All directory variables mentioned above can be overridden:=0A= (BIN_DIR, LIB_DIR, INCLUDE_DIR, DOC_DIR, KERNEL_DIR and DATA_DIR).=0A= =0A= =0A= v3:=0A= =0A= Modify the makefile target to specify the files=0A= that will be installed using a rule:=0A= =0A= make install-bin (install app files)(dafault path BIN_DIR=3D/usr/bin).=0A= make install-headers (install headers)(dafault path INCLUDE_DIR=3D/usr/incl= ude/dpdk).=0A= make install-lib (install libraries)(dafault path if the architecture is 64= bits=0A= is LIB_DIR=3D/usr/lib64 else LIB_DIR=3D/usr/lib).=0A= make install-sbin (install nic bind files)(dafault path SBIN_DIR=3D/usr/sbi= n).=0A= make install-doc (install documentation)(dafault path DOC_DIR=3D/usr/share/= doc/dpdk).=0A= make install-mod (install modules)(dafault path if RTE_EXEC_ENV=3Dlinuxapp = then=0A= KERNEL_DIR=3D/lib/modules/$(uname -r)/build else KERNEL_DIR= =3D/boot/modules).=0A= make install-sdk (install headers, makefiles, scripts,examples, tools and= =0A= config files) (default path DATA_DIR=3D/usr/share/dpdk).=0A= make install-fhs (install libraries, modules, app files,=0A= nic bind files and documentation).=0A= =0A= Also you can use the DESTDIR variable.=0A= All directory variables mentioned above can be overridden=0A= (BIN_DIR, LIB_DIR, INCLUDE_DIR, SBIN_DIR, DOC_DIR, KERNEL_DIR and DATA_DIR)= .=0A= =0A= =0A= v2:=0A= =0A= Modify the makefile target to specify the files=0A= that will be installed using a rule:=0A= =0A= make install-bin (install app files).=0A= make install-headers (install headers).=0A= make install-lib (install libraries).=0A= make install-sbin (install nic bind files).=0A= make install-doc (install documentation).=0A= make install-mod (install modules).=0A= make install-sdk (install headers, makefiles, scripts,=0A= examples, tools and config files).=0A= make install-fhs (install libraries, modules, app files,=0A= nic bind files and documentation).=0A= =0A= Also you can use the DESTDIR variable.=0A= =0A= =0A= v1:=0A= =0A= By adding a parameter H=3D1 (hierarchy-file) to makefile system, it is=0A= possible to do the next steps=0A= =0A= make config T=3DTARGET=0A= make=0A= make install H=3D1=0A= =0A= and files will be installed on the proper directory. Also you can use=0A= the DESTDIR variable.=0A= =0A= Mario Carrillo (7):=0A= mk: Add rule for installing headers=0A= mk: Add rule for installing app files=0A= mk: Add rule for installing libraries=0A= mk: Add rule for installing modules=0A= mk: Add rule for installing documentation=0A= mk: Add rule for installing sdk files=0A= mk: Add rule for installing runtime files=0A= =0A= mk/rte.sdkinstall.mk | 115 +++++++++++++++++++++++++++++++++++++++++++++++= +++-=0A= mk/rte.sdkroot.mk | 6 ++-=0A= 2 files changed, 118 insertions(+), 3 deletions(-)=0A= =0A= --=0A= 2.1.0=0A= =0A=