From: "Mcnamara, John" <john.mcnamara@intel.com>
To: "Arevalo, Mario Alfredo C" <mario.alfredo.c.arevalo@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>
Cc: "Venegas Munoz, Jos C" <jos.c.venegas.munoz@intel.com>
Subject: Re: [dpdk-dev] [PATCH v7 11/11] doc: Add information about new installation rules
Date: Tue, 1 Dec 2015 11:11:53 +0000 [thread overview]
Message-ID: <B27915DBBA3421428155699D51E4CFE2023C9A77@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <1448931205-17357-12-git-send-email-mario.alfredo.c.arevalo@intel.com>
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Mario Carrillo
> Sent: Tuesday, December 1, 2015 12:53 AM
> To: dev@dpdk.org
> Cc: Venegas Munoz, Jos C
> Subject: [dpdk-dev] [PATCH v7 11/11] doc: Add information about new
> installation rules
>
> Information about variables and rules behaviour is added to documentation.
Hi,
Thanks for the documentation. Some comments below.
> diff --git a/doc/build-sdk-quick.txt b/doc/build-sdk-quick.txt index
> bf18b48..66f0d0e 100644
> --- a/doc/build-sdk-quick.txt
> +++ b/doc/build-sdk-quick.txt
> @@ -5,10 +5,21 @@ Build commands
> all same as build (default rule)
> build build in a configured directory
> clean remove files but keep configuration
> - install build many targets (wildcard allowed) and install
> in DESTDIR
> + install if T is defined, build a target and install in
> DESTDIR
> + else call install-fhs target
The convention in this file is to use tabs rather than spaces for the first
level indentation. Copy that style at the above and following lines.
> uninstall remove all installed targets
> examples build examples for given targets (T=)
> examples_clean clean examples for given targets (T=)
> +Install commands
> + install if T is defined, build a target and install in
> DESTDIR
> + else call install-fhs target
Same as above, 1 tab instead of spaces at the start of the line, spaces
after that for alignment.
> + install-headers install headers files
> + install-bin install app files a dpdk tools
> + install-lib install libraries
> + install-doc install documentation
> + install-mod install modules
> + install-sdk install headers, makefiles, scripts,examples, tools and config files
Typo. Needs space after comma.
> + install-fhs install libraries, modules, app files, nic bind files and documentation
Maybe "tools" instead of " nic bind files".
Also, for me, "fhs" isn't clear as an option. Maybe "install-all" instead.
> diff --git a/doc/guides/freebsd_gsg/build_dpdk.rst
> b/doc/guides/freebsd_gsg/build_dpdk.rst
> index 8eff599..72826d0 100644
> --- a/doc/guides/freebsd_gsg/build_dpdk.rst
> +++ b/doc/guides/freebsd_gsg/build_dpdk.rst
> @@ -136,6 +136,46 @@ The DPDK is composed of several directories:
>
> * config, tools, scripts, mk: Framework-related makefiles, scripts and
> configuration
>
> +
> +Build and install DPDK using a file hierarchy
> +---------------------------------------------
> +
> +Following the next steps is possible configure, build and install
> +specific files according to a file hierarchy and a group of variables.
Probably better as something like:
It is possible to configure, build and install specific groups of DPDK files
into a a file hierarchy using the following install commands and variables:
> +
> +.. code-block:: console
> +
> + make config T=<config template>
> + make
> + make <install target>
> +
> ++------------------+-----------------------------------------------------
> ---------------------------+
> +| install target | Description
> |
> ++==================+===================================================
> ++=============================+
> +|install |if T is not defined will call install-fhs install
> |
In general tables should be avoided in the docs. See the Tables section of the
DPDK Documentation guidelines:
http://dpdk.org/doc/guides/contributing/documentation.html#tables
A bullet list would be clear here. Something like:
Where the install options are:
* ``install``
If ``T`` is not defined make will call ``install-fhs``.
* ``install-headers``
Install headers files into ``includedir`` which is defined as
``$(prefix)/include/dpdk``.
* ``install-bin``
Install app files and dpdk tools into ``bindir`` which is defined as
``$(exec_prefix)/bin``.
* ``install-lib``
Install libraries into ``libdir`` which is defined as
``$(exec_prefix)/lib``.
* ``install-doc``
Install documentation into ``docdir`` which is defined as
``$(datarootdir)/doc/dpdk``.
* ``install-mod``
Install modules into ``kerneldir``. If ``RTE_EXEC_ENV`` is ``linuxapp`` then
``kerneldir`` is ``/lib/modules/$(uname -r)/extra/drivers/dpdk`` otherwise
``/boot/modules``.
* ``install-sdk``
Install headers, makefiles, scripts,examples and config files into
``sdkdir`` which is defined as ``$(datarootdir)/dpdk``.
* ``install-fhs``
Install libraries, modules, app files, tools and documentation.
> +prefix=/usr/local, exec_prefix=$(prefix) and
> +datarootdir=$(prefix)/share by default however prefix, exec_prefix,
> datarootdir and all path variables can be overridden furthermore all
> targets can use DESTDIR variable.
This could be reformatted more clearly like the following:
The following defaults apply::
prefix=/usr/local
exec_prefix=$(prefix)
datarootdir=$(prefix)/share
All path variables can be overridden and all targets can use the ``DESTDIR``
variable.
>
> Installation of the DPDK Target Environments
> --------------------------------------------
>
> diff --git a/doc/guides/linux_gsg/build_dpdk.rst
Same comments for the Linux GSG.
John.
--
next prev parent reply other threads:[~2015-12-01 11:14 UTC|newest]
Thread overview: 150+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 20:33 [dpdk-dev] [PATCH 0/7] Add hierarchical support to make install Mario Carrillo
2015-09-18 20:33 ` [dpdk-dev] [PATCH 1/7] mk: Add hierarchy-file support Mario Carrillo
2015-09-18 20:33 ` [dpdk-dev] [PATCH 2/7] mk: Add hierarchy-file support (sbin) Mario Carrillo
2015-09-18 20:33 ` [dpdk-dev] [PATCH 3/7] mk: Add hierarchy-file support (doc) Mario Carrillo
2015-09-18 20:33 ` [dpdk-dev] [PATCH 4/7] mk: Add hierarchy-file support (app) Mario Carrillo
2015-09-18 20:33 ` [dpdk-dev] [PATCH 5/7] mk: Add hierarchy-file support (include) Mario Carrillo
2015-09-22 8:03 ` Panu Matilainen
2015-09-18 20:33 ` [dpdk-dev] [PATCH 6/7] mk: Add hierarchy-file support (lib) Mario Carrillo
2015-09-22 7:46 ` Panu Matilainen
2015-09-18 20:33 ` [dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod) Mario Carrillo
2015-09-22 6:56 ` Panu Matilainen
2015-11-27 15:40 ` Thomas Monjalon
2015-11-27 16:01 ` Ferruh Yigit
2015-11-27 16:20 ` David Marchand
2015-11-27 16:23 ` Bruce Richardson
2015-11-27 16:48 ` Ferruh Yigit
2015-11-27 21:05 ` Arevalo, Mario Alfredo C
2015-09-22 6:29 ` [dpdk-dev] [PATCH 0/7] Add hierarchical support to make install Panu Matilainen
2015-09-22 8:00 ` Olivier MATZ
2015-09-22 8:34 ` Panu Matilainen
2015-09-22 9:00 ` Olivier MATZ
2015-09-22 10:14 ` Panu Matilainen
2015-09-22 10:36 ` Panu Matilainen
2015-09-22 14:40 ` Olivier MATZ
2015-09-23 14:54 ` Arevalo, Mario Alfredo C
2015-09-22 10:39 ` Neil Horman
2015-09-22 8:16 ` Olivier MATZ
2015-09-29 0:00 ` [dpdk-dev] [PATCH v2 0/8] Add instalation rules for dpdk files Mario Carrillo
2015-09-29 0:00 ` [dpdk-dev] [PATCH v2 1/8] mk: Add rule for installing headers Mario Carrillo
2015-09-29 8:49 ` Panu Matilainen
2015-09-29 0:00 ` [dpdk-dev] [PATCH v2 2/8] mk: Add rule for installing app files Mario Carrillo
2015-09-29 0:00 ` [dpdk-dev] [PATCH v2 3/8] mk: Add rule for installing libraries Mario Carrillo
2015-09-29 9:28 ` Panu Matilainen
2015-09-29 0:00 ` [dpdk-dev] [PATCH v2 4/8] mk: Add rule for installing modules Mario Carrillo
2015-09-29 0:01 ` [dpdk-dev] [PATCH v2 5/8] mk: Add rule for installing documentation Mario Carrillo
2015-09-29 0:01 ` [dpdk-dev] [PATCH v2 6/8] mk: Add rule for installing nic bind files Mario Carrillo
2015-09-29 0:01 ` [dpdk-dev] [PATCH v2 7/8] mk: Add rule for installing sdk files Mario Carrillo
2015-09-29 0:01 ` [dpdk-dev] [PATCH v2 8/8] mk: Add rule for installing runtime files Mario Carrillo
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 0/8] Add instalation rules for dpdk files Mario Carrillo
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 1/8] mk: Add rule for installing headers Mario Carrillo
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 2/8] mk: Add rule for installing app files Mario Carrillo
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 3/8] mk: Add rule for installing libraries Mario Carrillo
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 4/8] mk: Add rule for installing modules Mario Carrillo
2015-10-02 10:38 ` Panu Matilainen
2015-10-02 16:26 ` Arevalo, Mario Alfredo C
2015-10-05 7:13 ` Panu Matilainen
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 5/8] mk: Add rule for installing documentation Mario Carrillo
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 6/8] mk: Add rule for installing nic bind files Mario Carrillo
2015-10-02 10:49 ` Panu Matilainen
2015-10-02 10:54 ` Richardson, Bruce
2015-10-02 16:27 ` Arevalo, Mario Alfredo C
2015-11-27 15:52 ` Thomas Monjalon
2015-11-27 16:10 ` Bruce Richardson
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 7/8] mk: Add rule for installing sdk files Mario Carrillo
2015-10-01 0:11 ` [dpdk-dev] [PATCH v3 8/8] mk: Add rule for installing runtime files Mario Carrillo
2015-10-02 11:15 ` Panu Matilainen
2015-10-02 11:25 ` Bruce Richardson
2015-10-02 16:29 ` Arevalo, Mario Alfredo C
2015-10-12 9:28 ` Jan Blunck
2015-10-05 20:19 ` [dpdk-dev] [PATCH v4 0/7] Add instalation rules for dpdk files Mario Carrillo
2015-10-05 20:20 ` [dpdk-dev] [PATCH v4 1/7] mk: Add rule for installing headers Mario Carrillo
2015-10-16 19:29 ` Olivier MATZ
2015-10-19 23:35 ` Arevalo, Mario Alfredo C
2015-10-05 20:20 ` [dpdk-dev] [PATCH v4 2/7] mk: Add rule for installing app files Mario Carrillo
2015-10-16 19:30 ` Olivier MATZ
2015-10-05 20:20 ` [dpdk-dev] [PATCH v4 3/7] mk: Add rule for installing libraries Mario Carrillo
2015-10-05 20:20 ` [dpdk-dev] [PATCH v4 4/7] mk: Add rule for installing modules Mario Carrillo
2015-10-05 20:20 ` [dpdk-dev] [PATCH v4 5/7] mk: Add rule for installing documentation Mario Carrillo
2015-10-16 19:30 ` Olivier MATZ
2015-10-19 23:36 ` Arevalo, Mario Alfredo C
2015-10-05 20:20 ` [dpdk-dev] [PATCH v4 6/7] mk: Add rule for installing sdk files Mario Carrillo
2015-10-16 19:31 ` Olivier MATZ
2015-10-19 14:00 ` Panu Matilainen
2015-10-05 20:20 ` [dpdk-dev] [PATCH v4 7/7] mk: Add rule for installing runtime files Mario Carrillo
2015-10-10 17:45 ` [dpdk-dev] [PATCH v4 0/7] Add instalation rules for dpdk files Arevalo, Mario Alfredo C
2015-10-15 12:32 ` Panu Matilainen
2015-10-14 15:58 ` Miguel Bernal Marin
2015-10-16 19:32 ` Olivier MATZ
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 00/10] " Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 01/10] mk: Add rule for installing headers Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 02/10] mk: Add rule for installing app files Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 03/10] mk: Add rule for installing libraries Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 04/10] mk: Add rule for installing modules Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 05/10] mk: Add rule for installing documentation Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 06/10] mk: Add rule for installing sdk files Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 07/10] mk: Add rule for installing runtime files Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 08/10] mk: Rename install rule as mbuild rule Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 09/10] mk: Add new install rule Mario Carrillo
2015-10-30 1:47 ` [dpdk-dev] [PATCH v5 10/10] doc: Add information about new installation rules Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 00/10] Add installation rules for dpdk files Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 01/10] mk: Add rule for installing headers Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 02/10] mk: Add rule for installing app files Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 03/10] mk: Add rule for installing libraries Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 04/10] mk: Add rule for installing modules Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 05/10] mk: Add rule for installing documentation Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 06/10] mk: Add rule for installing sdk files Mario Carrillo
2015-11-30 16:20 ` Thomas Monjalon
2015-11-30 16:26 ` Arevalo, Mario Alfredo C
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 07/10] mk: Add rule for installing runtime files Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 08/10] mk: Rename install rule as mbuild rule Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 09/10] mk: Add new install rule Mario Carrillo
2015-11-10 17:07 ` [dpdk-dev] [PATCH v6 10/10] doc: Add information about new installation rules Mario Carrillo
2015-11-10 17:18 ` [dpdk-dev] [PATCH v6 00/10] Add installation rules for dpdk files Aaron Conole
2015-11-10 23:25 ` Arevalo, Mario Alfredo C
2015-11-11 10:48 ` Bruce Richardson
2015-11-11 17:43 ` Arevalo, Mario Alfredo C
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 00/11] " Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 01/11] mk: Add rule for installing headers Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 02/11] mk: Add rule for installing app files Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 03/11] mk: Add rule for installing libraries Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 04/11] mk: Add rule for installing modules Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 05/11] mk: Add rule for installing documentation Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 06/11] mk: Add rule for installing sdk files Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 07/11] mk: Add rule for installing runtime files Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 08/11] app: Change name to test binary Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 09/11] mk: Rename install rule as mbuild rule Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 10/11] mk: Add new install rule Mario Carrillo
2015-12-01 0:53 ` [dpdk-dev] [PATCH v7 11/11] doc: Add information about new installation rules Mario Carrillo
2015-12-01 11:11 ` Mcnamara, John [this message]
2015-12-01 12:08 ` Mcnamara, John
2015-12-01 13:36 ` Arevalo, Mario Alfredo C
2015-12-01 19:17 ` [dpdk-dev] [PATCH v7 00/11] Add installation rules for dpdk files Thomas Monjalon
2015-12-01 19:36 ` Arevalo, Mario Alfredo C
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 " Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 01/11] mk: Add rule for installing headers Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 02/11] mk: Add rule for installing app files Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 03/11] mk: Add rule for installing libraries Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 04/11] mk: Add rule for installing modules Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 05/11] mk: Add rule for installing documentation Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 06/11] mk: Add rule for installing sdk files Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 07/11] mk: Add rule for installing runtime files Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 08/11] app: Change name to test binary Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 09/11] mk: Rename install rule as mbuild rule Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 10/11] mk: Add new install rule Mario Carrillo
2015-12-01 19:39 ` [dpdk-dev] [PATCH v8 11/11] doc: Add information about new installation rules Mario Carrillo
2015-12-02 9:33 ` [dpdk-dev] [PATCH v8 00/11] Add installation rules for dpdk files Panu Matilainen
2015-12-02 23:04 ` Arevalo, Mario Alfredo C
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 " Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 01/11] mk: Add rule for installing headers Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 02/11] mk: Add rule for installing app files Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 03/11] mk: Add rule for installing libraries Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 04/11] mk: Add rule for installing modules Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 05/11] mk: Add rule for installing documentation Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 06/11] mk: Add rule for installing sdk files Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 07/11] mk: Add rule for installing runtime files Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 08/11] app: Change name to test binary Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 09/11] mk: Rename install rule as mbuild rule Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 10/11] mk: Add new install rule Mario Carrillo
2015-12-03 21:37 ` [dpdk-dev] [PATCH v9 11/11] doc: Add information about new installation rules Mario Carrillo
2015-12-04 15:38 ` [dpdk-dev] [PATCH v9 00/11] Add installation rules for dpdk files Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B27915DBBA3421428155699D51E4CFE2023C9A77@IRSMSX103.ger.corp.intel.com \
--to=john.mcnamara@intel.com \
--cc=dev@dpdk.org \
--cc=jos.c.venegas.munoz@intel.com \
--cc=mario.alfredo.c.arevalo@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).