[20.11,12/19] doc: remove references to make in Linux gsg guides

Message ID 20200807123009.21266-13-ciara.power@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series remove make support in DPDK |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Power, Ciara Aug. 7, 2020, 12:30 p.m. UTC
  Make is no longer supported for compiling DPDK, references are now
removed in the documentation.

Signed-off-by: Ciara Power <ciara.power@intel.com>
---
 doc/guides/linux_gsg/build_dpdk.rst           | 58 -------------------
 doc/guides/linux_gsg/build_sample_apps.rst    | 16 +----
 .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 42 --------------
 doc/guides/linux_gsg/enable_func.rst          |  3 -
 doc/guides/linux_gsg/intro.rst                |  2 +-
 doc/guides/linux_gsg/linux_drivers.rst        |  2 -
 doc/guides/linux_gsg/sys_reqs.rst             |  4 --
 7 files changed, 4 insertions(+), 123 deletions(-)
  

Comments

Bruce Richardson Aug. 18, 2020, 11:40 a.m. UTC | #1
On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote:
> Make is no longer supported for compiling DPDK, references are now
> removed in the documentation.
> 
> Signed-off-by: Ciara Power <ciara.power@intel.com>
> ---
>  doc/guides/linux_gsg/build_dpdk.rst           | 58 -------------------
>  doc/guides/linux_gsg/build_sample_apps.rst    | 16 +----
>  .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 42 --------------
>  doc/guides/linux_gsg/enable_func.rst          |  3 -
>  doc/guides/linux_gsg/intro.rst                |  2 +-
>  doc/guides/linux_gsg/linux_drivers.rst        |  2 -
>  doc/guides/linux_gsg/sys_reqs.rst             |  4 --
>  7 files changed, 4 insertions(+), 123 deletions(-)
> 
<snip>
> diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
> index a124656bcb..a009f3146b 100644
> --- a/doc/guides/linux_gsg/sys_reqs.rst
> +++ b/doc/guides/linux_gsg/sys_reqs.rst
> @@ -85,10 +85,6 @@ A number of DPDK components, such as libraries and poll-mode drivers (PMDs) have
>  For DPDK builds using meson, the presence or absence of these dependencies will be
>  automatically detected enabling or disabling the relevant components appropriately.
>  

I think you can drop the words "using meson" here as there is no
alternative any more.

> -For builds using make, these components are disabled in the default configuration and
> -need to be enabled manually by changing the relevant setting to "y" in the build configuration file
> -i.e. the ``.config`` file in the build folder.
> -
>  In each case, the relevant library development package (``-devel`` or ``-dev``) is needed to build the DPDK components.
>  
>  For libraries the additional dependencies include:

In sys_reqs.rst there is also a reference to make in the "Required Tools
and Libraries". Change: 

"General development tools including make, and a supported C compiler such
as gcc (version 4.9+) or clang (version 3.4+)."

To something like:

"General development tools including a supported C compiler such
as gcc (version 4.9+) or clang (version 3.4+)."
  
Bruce Richardson Aug. 18, 2020, 11:48 a.m. UTC | #2
On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote:
> Make is no longer supported for compiling DPDK, references are now
> removed in the documentation.
> 
> Signed-off-by: Ciara Power <ciara.power@intel.com>
> ---
>  doc/guides/linux_gsg/build_dpdk.rst           | 58 -------------------
>  doc/guides/linux_gsg/build_sample_apps.rst    | 16 +----
>  .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 42 --------------
>  doc/guides/linux_gsg/enable_func.rst          |  3 -
>  doc/guides/linux_gsg/intro.rst                |  2 +-
>  doc/guides/linux_gsg/linux_drivers.rst        |  2 -
>  doc/guides/linux_gsg/sys_reqs.rst             |  4 --
>  7 files changed, 4 insertions(+), 123 deletions(-)
> 
> diff --git a/doc/guides/linux_gsg/build_dpdk.rst b/doc/guides/linux_gsg/build_dpdk.rst
> index c536e354ef..a0536696e6 100644
> --- a/doc/guides/linux_gsg/build_dpdk.rst
> +++ b/doc/guides/linux_gsg/build_dpdk.rst
> @@ -39,11 +39,6 @@ Compiling and Installing DPDK System-wide

In the directory listing just before this "Compiling and Installing..."
subsection, you need to remove the reference to the "mk" directory.

>  DPDK can be configured, built and installed on your system using the tools
>  ``meson`` and ``ninja``.
>  
> -.. note::
> -
> -  The older makefile-based build system used in older DPDK releases is
> -  still present and its use is described in section
> -  `Installation of DPDK Target Environment using Make`_.
>  
>  DPDK Configuration
>  ~~~~~~~~~~~~~~~~~~
> @@ -158,59 +153,6 @@ build system is shown below:
>     executable('dpdk-app', sources, dependencies: dpdk)
>  

In the Note before this block, where it says that DPDK is no longer
designed for linking apps straight from the build directory, the "older
make build system" can be changed to "make build system present used in
older DPDK releases", so similar.

>  
> -Installation of DPDK Target Environment using Make
> ---------------------------------------------------
> -
> -.. note::
> -
> -   The building of DPDK using make will be deprecated in a future release. It
> -   is therefore recommended that DPDK installation is done using meson and
> -   ninja as described above.
> -
> -Get a native target environment automatically::
> -
> -   make defconfig O=mybuild
> -
> -.. note::
> -
> -    Within the configuration files, the ``RTE_MACHINE`` configuration value is set to native,
> -    which means that the compiled software is tuned for the platform on which it is built.
> -
> -Or get a specific target environment::
> -
> -   make config T=x86_64-native-linux-gcc O=mybuild
> -
> -The format of a DPDK target is "ARCH-MACHINE-EXECENV-TOOLCHAIN".
> -Available targets can be found with::
> -
> -   make help
> -
> -Customize the target configuration in the generated ``.config`` file.
> -Example for enabling the pcap PMD::
> -
> -   sed -ri 's,(PMD_PCAP=).*,\1y,' mybuild/.config
> -
> -Compile the target::
> -
> -   make -j4 O=mybuild
> -
> -.. warning::
> -
> -    Any kernel modules to be used, e.g. ``igb_uio``, ``kni``, must be compiled with the
> -    same kernel as the one running on the target.
> -    If the DPDK is not being built on the target machine,
> -    the ``RTE_KERNELDIR`` environment variable should be used to point the compilation at a copy of the kernel version to be used on the target machine.
> -
> -Install the target in a separate directory::
> -
> -   make install O=mybuild DESTDIR=myinstall prefix=
> -
> -The environment is ready to build a DPDK application::
> -
> -   RTE_SDK=$(pwd)/myinstall/share/dpdk RTE_TARGET=x86_64-native-linux-gcc make -C myapp
> -
> -In addition, the make clean command can be used to remove any existing compiled files for a subsequent full, clean rebuild of the code.
> -
>  Browsing the Installed DPDK Environment Target
>  ----------------------------------------------
>  

I think we should remove this last subsection too, because, while it
doesn't actually refer to make directly, it's more in keeping with the
target-build-dir style of the make system.
  
Bruce Richardson Aug. 18, 2020, 1:11 p.m. UTC | #3
On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote:
> Make is no longer supported for compiling DPDK, references are now
> removed in the documentation.
> 
> Signed-off-by: Ciara Power <ciara.power@intel.com>
> ---
>  doc/guides/linux_gsg/build_dpdk.rst           | 58 -------------------
>  doc/guides/linux_gsg/build_sample_apps.rst    | 16 +----
>  .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 42 --------------
>  doc/guides/linux_gsg/enable_func.rst          |  3 -
>  doc/guides/linux_gsg/intro.rst                |  2 +-
>  doc/guides/linux_gsg/linux_drivers.rst        |  2 -
>  doc/guides/linux_gsg/sys_reqs.rst             |  4 --
>  7 files changed, 4 insertions(+), 123 deletions(-)
> 
<snip>
> diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> index c5875a6d57..dc8e640835 100644
> --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> @@ -99,45 +99,3 @@ command::
>  

The title of this section "Cross Compiling DPDK using Meson" should just be
renamed to "Cross Compiling DPDK".

Also, the note in the previous section 4.4 "Augment the cross
toolchain...", refers to the meson build and using CFLAGS and LDFLAGS, but
there is no actual reference to them in the meson build instructions -
instead they are discussed in the make build section. So I
think that note should have the section reference removed, i.e. finish the
note/sentence at the comma after LDFLAGS.

>  	meson arm64-build --cross-file config/arm/arm64_armv8_linux_gcc
>  	ninja -C arm64-build
> -
> -Configure and Cross Compile DPDK using Make
> --------------------------------------------
> -To configure a build, choose one of the target configurations, like arm64-dpaa-linux-gcc and arm64-thunderx-linux-gcc.
> -
> -.. code-block:: console
> -
> -   make config T=arm64-armv8a-linux-gcc
> -
> -To cross-compile, without compiling the kernel modules, use the following command:
> -
> -.. code-block:: console
> -
> -   make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n
> -
> -To cross-compile, including the kernel modules, the kernel source tree needs to be specified by setting
> -RTE_KERNELDIR:
> -
> -.. code-block:: console
> -
> -   make -j CROSS=aarch64-linux-gnu- RTE_KERNELDIR=<kernel_src_rootdir> CROSS_COMPILE=aarch64-linux-gnu-
> -
> -To compile for non-NUMA targets, without compiling the kernel modules, use the following command:
> -
> -.. code-block:: console
> -
> -   make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n CONFIG_RTE_LIBRTE_VHOST_NUMA=n CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
> -
> -.. note::
> -
> -   1. EXTRA_CFLAGS and EXTRA_LDFLAGS should be added to include the NUMA headers and link the library respectively,
> -   if the above step :ref:`augment_the_cross_toolchain_with_numa_support` was skipped therefore the toolchain was not
> -   augmented with NUMA support.
> -
> -   2. "-isystem <numa_install_dir>/include" should be add to EXTRA_CFLAGS, otherwise the numa.h file will get a lot of compiling
> -   errors of Werror=cast-qual, Werror=strict-prototypes and Werror=old-style-definition.
> -
> -   An example is given below:
> -
> -   .. code-block:: console
> -
> -      make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n EXTRA_CFLAGS="-isystem <numa_install_dir>/include" EXTRA_LDFLAGS="-L<numa_install_dir>/lib -lnuma"
  
Bruce Richardson Aug. 18, 2020, 1:34 p.m. UTC | #4
On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote:
> Make is no longer supported for compiling DPDK, references are now
> removed in the documentation.
> 
> Signed-off-by: Ciara Power <ciara.power@intel.com>
> ---
>  doc/guides/linux_gsg/build_dpdk.rst           | 58 -------------------
>  doc/guides/linux_gsg/build_sample_apps.rst    | 16 +----
>  .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 42 --------------
>  doc/guides/linux_gsg/enable_func.rst          |  3 -
>  doc/guides/linux_gsg/intro.rst                |  2 +-
>  doc/guides/linux_gsg/linux_drivers.rst        |  2 -
>  doc/guides/linux_gsg/sys_reqs.rst             |  4 --
>  7 files changed, 4 insertions(+), 123 deletions(-)
> 
<snip>
> diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst
> index 185074013a..ba0e45d95b 100644
> --- a/doc/guides/linux_gsg/linux_drivers.rst
> +++ b/doc/guides/linux_gsg/linux_drivers.rst

In section 5.1 there is a reference to the "kmod" subdirectory, which is
the make build directory name. This should be changed to "kernel/linux" for
meson builds.

> @@ -38,8 +38,6 @@ be loaded as shown below:
>  
>  .. note::
>  
> -   ``igb_uio`` module is disabled by default starting from ``DPDK v20.02``.
> -   To build it, the config option ``CONFIG_RTE_EAL_IGB_UIO`` should be enabled.

The deleted text needs to be replaced, I think. I'd suggest: "Building DPDK
Linux kernel modules is disabled by default starting from DPDK v20.02. To
enable them again, the config option "enable_kmods" needs to be set in the
meson build configuration. See :ref:`adjusting_build_options` for details
on how to set/clear build options."

>     It is planned to move ``igb_uio`` module to a different git repository.
>  
>  .. note::
  
Bruce Richardson Aug. 18, 2020, 2:31 p.m. UTC | #5
On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote:
> Make is no longer supported for compiling DPDK, references are now
> removed in the documentation.
> 
> Signed-off-by: Ciara Power <ciara.power@intel.com>
> ---
>  doc/guides/linux_gsg/build_dpdk.rst           | 58 -------------------
>  doc/guides/linux_gsg/build_sample_apps.rst    | 16 +----
>  .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 42 --------------
>  doc/guides/linux_gsg/enable_func.rst          |  3 -
>  doc/guides/linux_gsg/intro.rst                |  2 +-
>  doc/guides/linux_gsg/linux_drivers.rst        |  2 -
>  doc/guides/linux_gsg/sys_reqs.rst             |  4 --
>  7 files changed, 4 insertions(+), 123 deletions(-)
> 
<snip>
> diff --git a/doc/guides/linux_gsg/build_sample_apps.rst b/doc/guides/linux_gsg/build_sample_apps.rst
> index 2f606535c3..afa94acbbe 100644
> --- a/doc/guides/linux_gsg/build_sample_apps.rst
> +++ b/doc/guides/linux_gsg/build_sample_apps.rst
> @@ -18,14 +18,8 @@ Compiling a Sample Application
>  Once an DPDK target environment directory has been created (such as ``x86_64-native-linux-gcc``),
>  it contains all libraries and header files required to build an application.
>  

This reference to x86_64-native-linuxapp-gcc is also a make-build
reference. It should be removed.

In fact, since building example apps separately is covered in section
3.2.3, I think we can rename this whole section from "compiling and running
sample applications" to just "running sample applications". Rather than
renumbering the sections and heading levels, section 6.1 can be kept just
referring back to 3.2.3, since that info may well be useful to the reader
who starts on this section.

> -When compiling an application in the Linux* environment on the DPDK, the following variables must be exported:
> -
> -* ``RTE_SDK`` - Points to the DPDK installation directory.
> -
> -* ``RTE_TARGET`` - Points to the DPDK target environment directory.
> -
>  The following is an example of creating the ``helloworld`` application, which runs in the DPDK Linux environment.
> -This example may be found in the ``${RTE_SDK}/examples`` directory.
> +This example may be found in the ``${DPDK installation directory}/examples`` directory.
>  
>  The directory contains the ``main.c`` file. This file, when combined with the libraries in the DPDK target environment,
>  calls the various functions to initialize the DPDK environment,
> @@ -35,8 +29,6 @@ By default, the binary is generated in the build directory.
>  .. code-block:: console
>  
>      cd examples/helloworld/
> -    export RTE_SDK=$HOME/DPDK
> -    export RTE_TARGET=x86_64-native-linux-gcc
>  
>      make
>          CC main.o
> @@ -55,10 +47,8 @@ By default, the binary is generated in the build directory.
>  
>      .. code-block:: console
>  
> -       export RTE_SDK=/home/user/DPDK
> -       cp -r $(RTE_SDK)/examples/helloworld my_rte_app
> +       cp -r $(DPDK installation directory)/examples/helloworld my_rte_app
>         cd my_rte_app/
> -       export RTE_TARGET=x86_64-native-linux-gcc
>  
>         make
>           CC main.o

Drop all this text and refer to previous chapter.

> @@ -232,7 +222,7 @@ If the DPDK cannot allocate enough memory on each socket, the EAL initialization
>  Additional Sample Applications
>  ------------------------------
>  
> -Additional sample applications are included in the ${RTE_SDK}/examples directory.
> +Additional sample applications are included in the ${DPDK installation directory}/examples directory.

I think "${DPDK installation directory}/examples" can be written simply as
"DPDK examples" to make it a plain sentence without any explicit path
references.

>  These sample applications may be built and run in a manner similar to that described in earlier sections in this manual.
>  In addition, see the *DPDK Sample Applications User Guide* for a description of the application,
>  specific instructions on compilation and execution and some explanation of the code.

The subsection on "Additonal Test Applications" following this block seems
very out of date, and should be removed IMHO.
  
Bruce Richardson Aug. 18, 2020, 2:45 p.m. UTC | #6
On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote:
> Make is no longer supported for compiling DPDK, references are now
> removed in the documentation.
> 
> Signed-off-by: Ciara Power <ciara.power@intel.com>

Apologies for the multiple emails, but to review this properly I'm
reviewing the text section by section.

/Bruce

> ---
>  doc/guides/linux_gsg/build_dpdk.rst           | 58 -------------------
>  doc/guides/linux_gsg/build_sample_apps.rst    | 16 +----
>  .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 42 --------------
>  doc/guides/linux_gsg/enable_func.rst          |  3 -
>  doc/guides/linux_gsg/intro.rst                |  2 +-
>  doc/guides/linux_gsg/linux_drivers.rst        |  2 -
>  doc/guides/linux_gsg/sys_reqs.rst             |  4 --
>  7 files changed, 4 insertions(+), 123 deletions(-)
> 
<snap>
> diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/linux_gsg/enable_func.rst
> index b2bda80bb7..40c6f25a6f 100644
> --- a/doc/guides/linux_gsg/enable_func.rst
> +++ b/doc/guides/linux_gsg/enable_func.rst
> @@ -40,9 +40,6 @@ requires that the ``HPET_MMAP`` kernel configuration option be enabled.
>  Enabling HPET in the DPDK
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  
> -By default, HPET support is disabled in the DPDK build configuration files.
This sentence can be kept.

> -To use HPET, the ``CONFIG_RTE_LIBEAL_USE_HPET`` setting should be changed to ``y``, which will enable the HPET settings at compile time.
> -
This should instead refer to the "use_hpet" meson build option. I'm not
sure who, if anyone, still uses hpet for DPDK timers, but that is outside
the scope of this set, so let's just update to match the current situation.

>  For an application to use the ``rte_get_hpet_cycles()`` and ``rte_get_hpet_hz()`` API calls,
>  and optionally to make the HPET the default time source for the rte_timer library,
>  the new ``rte_eal_hpet_init()`` API call should be called at application initialization.

section 8.5 in this chapter discusses kni, and the reference there to the
kmod directory should be replaced by kernel/linux. To cover enabling the
build of it etc., I'd just say it can be enabled in the same way as igb_uio
and give the reference.
  
Bruce Richardson Aug. 19, 2020, 1:03 p.m. UTC | #7
On Tue, Aug 18, 2020 at 12:40:53PM +0100, Bruce Richardson wrote:
> On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote:
> > Make is no longer supported for compiling DPDK, references are now
> > removed in the documentation.
> > 
> > Signed-off-by: Ciara Power <ciara.power@intel.com>
> > ---
> >  doc/guides/linux_gsg/build_dpdk.rst           | 58 -------------------
> >  doc/guides/linux_gsg/build_sample_apps.rst    | 16 +----
> >  .../linux_gsg/cross_build_dpdk_for_arm64.rst  | 42 --------------
> >  doc/guides/linux_gsg/enable_func.rst          |  3 -
> >  doc/guides/linux_gsg/intro.rst                |  2 +-
> >  doc/guides/linux_gsg/linux_drivers.rst        |  2 -
> >  doc/guides/linux_gsg/sys_reqs.rst             |  4 --
> >  7 files changed, 4 insertions(+), 123 deletions(-)
> > 
> <snip>
> > diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
> > index a124656bcb..a009f3146b 100644
> > --- a/doc/guides/linux_gsg/sys_reqs.rst
> > +++ b/doc/guides/linux_gsg/sys_reqs.rst
> > @@ -85,10 +85,6 @@ A number of DPDK components, such as libraries and poll-mode drivers (PMDs) have
> >  For DPDK builds using meson, the presence or absence of these dependencies will be
> >  automatically detected enabling or disabling the relevant components appropriately.
> >  
> 
> I think you can drop the words "using meson" here as there is no
> alternative any more.
> 
> > -For builds using make, these components are disabled in the default configuration and
> > -need to be enabled manually by changing the relevant setting to "y" in the build configuration file
> > -i.e. the ``.config`` file in the build folder.
> > -
> >  In each case, the relevant library development package (``-devel`` or ``-dev``) is needed to build the DPDK components.
> >  
> >  For libraries the additional dependencies include:
> 
> In sys_reqs.rst there is also a reference to make in the "Required Tools
> and Libraries". Change: 
> 
> "General development tools including make, and a supported C compiler such
> as gcc (version 4.9+) or clang (version 3.4+)."
> 
> To something like:
> 
> "General development tools including a supported C compiler such
> as gcc (version 4.9+) or clang (version 3.4+)."

Also, one more thing I spot in that section is that we need to update our
python minimum version to 3.5+ and drop references to 2.7. Therefore, I'd
suggest just removing the whole sub-bullets and put a single bullet saying
"Python, v3.5 or later"
  

Patch

diff --git a/doc/guides/linux_gsg/build_dpdk.rst b/doc/guides/linux_gsg/build_dpdk.rst
index c536e354ef..a0536696e6 100644
--- a/doc/guides/linux_gsg/build_dpdk.rst
+++ b/doc/guides/linux_gsg/build_dpdk.rst
@@ -39,11 +39,6 @@  Compiling and Installing DPDK System-wide
 DPDK can be configured, built and installed on your system using the tools
 ``meson`` and ``ninja``.
 
-.. note::
-
-  The older makefile-based build system used in older DPDK releases is
-  still present and its use is described in section
-  `Installation of DPDK Target Environment using Make`_.
 
 DPDK Configuration
 ~~~~~~~~~~~~~~~~~~
@@ -158,59 +153,6 @@  build system is shown below:
    executable('dpdk-app', sources, dependencies: dpdk)
 
 
-Installation of DPDK Target Environment using Make
---------------------------------------------------
-
-.. note::
-
-   The building of DPDK using make will be deprecated in a future release. It
-   is therefore recommended that DPDK installation is done using meson and
-   ninja as described above.
-
-Get a native target environment automatically::
-
-   make defconfig O=mybuild
-
-.. note::
-
-    Within the configuration files, the ``RTE_MACHINE`` configuration value is set to native,
-    which means that the compiled software is tuned for the platform on which it is built.
-
-Or get a specific target environment::
-
-   make config T=x86_64-native-linux-gcc O=mybuild
-
-The format of a DPDK target is "ARCH-MACHINE-EXECENV-TOOLCHAIN".
-Available targets can be found with::
-
-   make help
-
-Customize the target configuration in the generated ``.config`` file.
-Example for enabling the pcap PMD::
-
-   sed -ri 's,(PMD_PCAP=).*,\1y,' mybuild/.config
-
-Compile the target::
-
-   make -j4 O=mybuild
-
-.. warning::
-
-    Any kernel modules to be used, e.g. ``igb_uio``, ``kni``, must be compiled with the
-    same kernel as the one running on the target.
-    If the DPDK is not being built on the target machine,
-    the ``RTE_KERNELDIR`` environment variable should be used to point the compilation at a copy of the kernel version to be used on the target machine.
-
-Install the target in a separate directory::
-
-   make install O=mybuild DESTDIR=myinstall prefix=
-
-The environment is ready to build a DPDK application::
-
-   RTE_SDK=$(pwd)/myinstall/share/dpdk RTE_TARGET=x86_64-native-linux-gcc make -C myapp
-
-In addition, the make clean command can be used to remove any existing compiled files for a subsequent full, clean rebuild of the code.
-
 Browsing the Installed DPDK Environment Target
 ----------------------------------------------
 
diff --git a/doc/guides/linux_gsg/build_sample_apps.rst b/doc/guides/linux_gsg/build_sample_apps.rst
index 2f606535c3..afa94acbbe 100644
--- a/doc/guides/linux_gsg/build_sample_apps.rst
+++ b/doc/guides/linux_gsg/build_sample_apps.rst
@@ -18,14 +18,8 @@  Compiling a Sample Application
 Once an DPDK target environment directory has been created (such as ``x86_64-native-linux-gcc``),
 it contains all libraries and header files required to build an application.
 
-When compiling an application in the Linux* environment on the DPDK, the following variables must be exported:
-
-* ``RTE_SDK`` - Points to the DPDK installation directory.
-
-* ``RTE_TARGET`` - Points to the DPDK target environment directory.
-
 The following is an example of creating the ``helloworld`` application, which runs in the DPDK Linux environment.
-This example may be found in the ``${RTE_SDK}/examples`` directory.
+This example may be found in the ``${DPDK installation directory}/examples`` directory.
 
 The directory contains the ``main.c`` file. This file, when combined with the libraries in the DPDK target environment,
 calls the various functions to initialize the DPDK environment,
@@ -35,8 +29,6 @@  By default, the binary is generated in the build directory.
 .. code-block:: console
 
     cd examples/helloworld/
-    export RTE_SDK=$HOME/DPDK
-    export RTE_TARGET=x86_64-native-linux-gcc
 
     make
         CC main.o
@@ -55,10 +47,8 @@  By default, the binary is generated in the build directory.
 
     .. code-block:: console
 
-       export RTE_SDK=/home/user/DPDK
-       cp -r $(RTE_SDK)/examples/helloworld my_rte_app
+       cp -r $(DPDK installation directory)/examples/helloworld my_rte_app
        cd my_rte_app/
-       export RTE_TARGET=x86_64-native-linux-gcc
 
        make
          CC main.o
@@ -232,7 +222,7 @@  If the DPDK cannot allocate enough memory on each socket, the EAL initialization
 Additional Sample Applications
 ------------------------------
 
-Additional sample applications are included in the ${RTE_SDK}/examples directory.
+Additional sample applications are included in the ${DPDK installation directory}/examples directory.
 These sample applications may be built and run in a manner similar to that described in earlier sections in this manual.
 In addition, see the *DPDK Sample Applications User Guide* for a description of the application,
 specific instructions on compilation and execution and some explanation of the code.
diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
index c5875a6d57..dc8e640835 100644
--- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
@@ -99,45 +99,3 @@  command::
 
 	meson arm64-build --cross-file config/arm/arm64_armv8_linux_gcc
 	ninja -C arm64-build
-
-Configure and Cross Compile DPDK using Make
--------------------------------------------
-To configure a build, choose one of the target configurations, like arm64-dpaa-linux-gcc and arm64-thunderx-linux-gcc.
-
-.. code-block:: console
-
-   make config T=arm64-armv8a-linux-gcc
-
-To cross-compile, without compiling the kernel modules, use the following command:
-
-.. code-block:: console
-
-   make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n
-
-To cross-compile, including the kernel modules, the kernel source tree needs to be specified by setting
-RTE_KERNELDIR:
-
-.. code-block:: console
-
-   make -j CROSS=aarch64-linux-gnu- RTE_KERNELDIR=<kernel_src_rootdir> CROSS_COMPILE=aarch64-linux-gnu-
-
-To compile for non-NUMA targets, without compiling the kernel modules, use the following command:
-
-.. code-block:: console
-
-   make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n CONFIG_RTE_LIBRTE_VHOST_NUMA=n CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
-
-.. note::
-
-   1. EXTRA_CFLAGS and EXTRA_LDFLAGS should be added to include the NUMA headers and link the library respectively,
-   if the above step :ref:`augment_the_cross_toolchain_with_numa_support` was skipped therefore the toolchain was not
-   augmented with NUMA support.
-
-   2. "-isystem <numa_install_dir>/include" should be add to EXTRA_CFLAGS, otherwise the numa.h file will get a lot of compiling
-   errors of Werror=cast-qual, Werror=strict-prototypes and Werror=old-style-definition.
-
-   An example is given below:
-
-   .. code-block:: console
-
-      make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n EXTRA_CFLAGS="-isystem <numa_install_dir>/include" EXTRA_LDFLAGS="-L<numa_install_dir>/lib -lnuma"
diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/linux_gsg/enable_func.rst
index b2bda80bb7..40c6f25a6f 100644
--- a/doc/guides/linux_gsg/enable_func.rst
+++ b/doc/guides/linux_gsg/enable_func.rst
@@ -40,9 +40,6 @@  requires that the ``HPET_MMAP`` kernel configuration option be enabled.
 Enabling HPET in the DPDK
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-By default, HPET support is disabled in the DPDK build configuration files.
-To use HPET, the ``CONFIG_RTE_LIBEAL_USE_HPET`` setting should be changed to ``y``, which will enable the HPET settings at compile time.
-
 For an application to use the ``rte_get_hpet_cycles()`` and ``rte_get_hpet_hz()`` API calls,
 and optionally to make the HPET the default time source for the rte_timer library,
 the new ``rte_eal_hpet_init()`` API call should be called at application initialization.
diff --git a/doc/guides/linux_gsg/intro.rst b/doc/guides/linux_gsg/intro.rst
index 94877f4ae2..890169e97f 100644
--- a/doc/guides/linux_gsg/intro.rst
+++ b/doc/guides/linux_gsg/intro.rst
@@ -23,7 +23,7 @@  The following is a list of DPDK documents in the suggested reading order:
 
     *   The software architecture and how to use it (through examples), specifically in a Linux application (linux) environment
 
-    *   The content of the DPDK, the build system (including the commands that can be used in the root DPDK Makefile to build the development kit and
+    *   The content of the DPDK, the build system (including the commands that can be used to build the development kit and
         an application) and guidelines for porting an application
 
     *   Optimizations used in the software and those that should be considered for new development
diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst
index 185074013a..ba0e45d95b 100644
--- a/doc/guides/linux_gsg/linux_drivers.rst
+++ b/doc/guides/linux_gsg/linux_drivers.rst
@@ -38,8 +38,6 @@  be loaded as shown below:
 
 .. note::
 
-   ``igb_uio`` module is disabled by default starting from ``DPDK v20.02``.
-   To build it, the config option ``CONFIG_RTE_EAL_IGB_UIO`` should be enabled.
    It is planned to move ``igb_uio`` module to a different git repository.
 
 .. note::
diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
index a124656bcb..a009f3146b 100644
--- a/doc/guides/linux_gsg/sys_reqs.rst
+++ b/doc/guides/linux_gsg/sys_reqs.rst
@@ -85,10 +85,6 @@  A number of DPDK components, such as libraries and poll-mode drivers (PMDs) have
 For DPDK builds using meson, the presence or absence of these dependencies will be
 automatically detected enabling or disabling the relevant components appropriately.
 
-For builds using make, these components are disabled in the default configuration and
-need to be enabled manually by changing the relevant setting to "y" in the build configuration file
-i.e. the ``.config`` file in the build folder.
-
 In each case, the relevant library development package (``-devel`` or ``-dev``) is needed to build the DPDK components.
 
 For libraries the additional dependencies include: