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 9B60F5A66 for ; Wed, 14 Oct 2015 17:58:35 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 14 Oct 2015 08:58:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,681,1437462000"; d="scan'208";a="664264106" Received: from kmurugan-mobl2.amr.corp.intel.com (HELO [10.254.112.55]) ([10.254.112.55]) by orsmga003.jf.intel.com with ESMTP; 14 Oct 2015 08:58:33 -0700 To: Panu Matilainen , Olivier MATZ 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> From: Miguel Bernal Marin Message-ID: <561E7BA8.3070503@linux.intel.com> Date: Wed, 14 Oct 2015 10:58:32 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1444076406-30141-1-git-send-email-mario.alfredo.c.arevalo@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org 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: Wed, 14 Oct 2015 15:58:36 -0000 Hi guys, Have you had any time to check this patchset version? On 10/5/2015 3:19 PM, Mario Carrillo wrote: > DPDK package lacks of a mechanism to install libraries, headers > applications, kernel modules and sdk files 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 > however this patch set does not affect the current dpdk behavior. > > Using rules support is possible to do the next steps: > make config T=TARGET > make > make INSTALL-TARGET > > v4: > > Modify the makefile target to specify the files > that will be installed using a rule: > > * make install-bin (install app files)(dafault path BIN_DIR=/usr/bin). > > * make install-headers (install headers)(dafault path INCLUDE_DIR=/usr/include/dpdk). > > * make install-lib (install libraries)(dafault path if the architecture is 64 bits > is LIB_DIR=/usr/lib64 else LIB_DIR=/usr/lib). > > * make install-doc (install documentation)(dafault path DOC_DIR=/usr/share/doc/dpdk). > > * make install-mod (install modules)(dafault path if RTE_EXEC_ENV=linuxapp then > KERNEL_DIR=/lib/modules/$(uname -r)/extra/drivers/dpdk else KERNEL_DIR=/boot/modules). > > * make install-sdk (install headers, makefiles, scripts,examples, tools and > config files) (default path DATA_DIR=/usr/share/dpdk). > > * make install-fhs (install libraries, modules, app files, > nic bind files and documentation). > > Also you can use the DESTDIR variable. > > All directory variables mentioned above can be overridden: > (BIN_DIR, LIB_DIR, INCLUDE_DIR, DOC_DIR, KERNEL_DIR and DATA_DIR). > > > v3: > > Modify the makefile target to specify the files > that will be installed using a rule: > > make install-bin (install app files)(dafault path BIN_DIR=/usr/bin). > make install-headers (install headers)(dafault path INCLUDE_DIR=/usr/include/dpdk). > make install-lib (install libraries)(dafault path if the architecture is 64 bits > is LIB_DIR=/usr/lib64 else LIB_DIR=/usr/lib). > make install-sbin (install nic bind files)(dafault path SBIN_DIR=/usr/sbin). > make install-doc (install documentation)(dafault path DOC_DIR=/usr/share/doc/dpdk). > make install-mod (install modules)(dafault path if RTE_EXEC_ENV=linuxapp then > KERNEL_DIR=/lib/modules/$(uname -r)/build else KERNEL_DIR=/boot/modules). > make install-sdk (install headers, makefiles, scripts,examples, tools and > config files) (default path DATA_DIR=/usr/share/dpdk). > make install-fhs (install libraries, modules, app files, > nic bind files and documentation). > > Also you can use the DESTDIR variable. > All directory variables mentioned above can be overridden > (BIN_DIR, LIB_DIR, INCLUDE_DIR, SBIN_DIR, DOC_DIR, KERNEL_DIR and DATA_DIR). > > > v2: > > Modify the makefile target to specify the files > that will be installed using a rule: > > make install-bin (install app files). > make install-headers (install headers). > make install-lib (install libraries). > make install-sbin (install nic bind files). > make install-doc (install documentation). > make install-mod (install modules). > make install-sdk (install headers, makefiles, scripts, > examples, tools and config files). > make install-fhs (install libraries, modules, app files, > nic bind files and documentation). > > Also you can use the DESTDIR variable. > > > v1: > > 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 > > and files will be installed on the proper directory. Also you can use > the DESTDIR variable. > > Mario Carrillo (7): > mk: Add rule for installing headers > mk: Add rule for installing app files > mk: Add rule for installing libraries > mk: Add rule for installing modules > mk: Add rule for installing documentation > mk: Add rule for installing sdk files > mk: Add rule for installing runtime files > > mk/rte.sdkinstall.mk | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++- > mk/rte.sdkroot.mk | 6 ++- > 2 files changed, 118 insertions(+), 3 deletions(-) > -- Regards, Miguel Bernal Marin Open Source Technology Center https://clearlinux.org Intel Corporation