New upstream version 18.11-rc4
[deb_dpdk.git] / doc / build-sdk-meson.txt
index 9618e75..a4dd091 100644 (file)
@@ -85,6 +85,8 @@ Project-specific options are passed used -Doption=value::
 
        meson -Dmax_lcores=8 smallbuild  # scale build for smaller systems
 
+       meson -Denable_docs=true fullbuild  # build and install docs
+
 Examples of setting the same options using meson configure::
 
        meson configure -Dwerror=true
@@ -130,7 +132,7 @@ Installing the Compiled Files
 
 Use ``ninja install`` to install the required DPDK files onto the system.
 The install prefix defaults to ``/usr/local`` but can be used as with other
-options above. The environment variable ``DEST_DIR`` can be used to adjust
+options above. The environment variable ``DESTDIR`` can be used to adjust
 the root directory for the install, for example when packaging.
 
 With the base install directory, the individual directories for libraries
@@ -201,3 +203,9 @@ From examples/helloworld/Makefile::
 
        build:
                @mkdir -p $@
+
+NOTE: for --static builds, DPDK needs to be built with Meson >= 0.46 in order to
+fully generate the list of private dependencies. If DPDK is built with an older
+version of Meson, it might be necessary to manually specify dependencies of DPDK
+PMDs/libraries, for example -lmlx5 -lmnl for librte-pmd-mlx5, or the static link
+step might fail.