[PATCH] doc: fix dependency setup in l2fwd-cat example guide

Thomas Monjalon thomas at monjalon.net
Fri Dec 30 21:57:03 CET 2022


The environment variable PQOS_INSTALL_PATH is not used anymore,
but the documentation was not updated.

Fixes: fda34680eb9a ("examples: remove legacy sections of makefiles")
Cc: stable at dpdk.org

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 doc/guides/sample_app_ug/l2_forward_cat.rst | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/doc/guides/sample_app_ug/l2_forward_cat.rst b/doc/guides/sample_app_ug/l2_forward_cat.rst
index 3ada3575ba..51621b692f 100644
--- a/doc/guides/sample_app_ug/l2_forward_cat.rst
+++ b/doc/guides/sample_app_ug/l2_forward_cat.rst
@@ -50,13 +50,12 @@ Compiling the Application
     * https://github.com/01org/intel-cmt-cat
 
 
-#. To compile the application export the path to PQoS lib
-   and the DPDK source tree and go to the example directory:
+To compile the application, export the path to PQoS lib:
 
-   .. code-block:: console
-
-       export PQOS_INSTALL_PATH=/path/to/libpqos
+.. code-block:: console
 
+   export CFLAGS=-I/path/to/intel-cmt-cat/include
+   export LDFLAGS=-L/path/to/intel-cmt-cat/lib
 
 To compile the sample application see :doc:`compiling`.
 
-- 
2.39.0



More information about the stable mailing list