Skip to contentSkip to conversation

doc: fix wrong config option

PATCH Applied Matteo Croce 3 participants 4 messages May 12, 2020 – May 18, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix wrong config option

The documentation says that CONFIG_ENABLE_LTO enables LTO during the build, but the correct value actually is CONFIG_RTE_ENABLE_LTO

Fixes 098cc0fea3be ("build: add option to enable LTO")
---
 doc/guides/prog_guide/lto.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/prog_guide/lto.rst +1 -1
index 43f4c6337..277a6f109 100644
@@ -31,7 +31,7 @@ the whole DPDK by setting:
 
 .. code-block:: console
 
-    CONFIG_ENABLE_LTO=y
+    CONFIG_RTE_ENABLE_LTO=y
 
 in config file.
 
Signature · 1 line
2.26.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Matteo Croce

The documentation says that CONFIG_ENABLE_LTO enables LTO during the build, but the correct value actually is CONFIG_RTE_ENABLE_LTO

Fixes 098cc0fea3be ("build: add option to enable LTO")
Quoted 10 lines
---
 doc/guides/prog_guide/lto.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/prog_guide/lto.rst +0 -0
index 43f4c6337..277a6f109 100644

doc/guides/prog_guide/lto.rst the whole DPDK by setting: · line 37

Quoted 8 lines
doc/guides/prog_guide/lto.rst +1 -1
@@ -31,7 +31,7 @@ the whole DPDK by setting:
 
 .. code-block:: console
 
-    CONFIG_ENABLE_LTO=y
+    CONFIG_RTE_ENABLE_LTO=y
 
 in config file.
 
Signature · 1 line
David Marchand
Acked-by on v1 1/1
#2 lore raw
In reply to Matteo Croce
Quoted 17 lines · Matteo Croce

External Email

----------------------------------------------------------------------
The documentation says that CONFIG_ENABLE_LTO enables LTO during the build, but the correct value actually is CONFIG_RTE_ENABLE_LTO

Fixes 098cc0fea3be ("build: add option to enable LTO")
---
  doc/guides/prog_guide/lto.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/prog_guide/lto.rst +0 -0
index 43f4c6337..277a6f109 100644

doc/guides/prog_guide/lto.rst the whole DPDK by setting: · line 36

Quoted 7 lines
doc/guides/prog_guide/lto.rst +1 -1
@@ -31,7 +31,7 @@ the whole DPDK by setting:
 
  .. code-block:: console
 
-    CONFIG_ENABLE_LTO=y
+    CONFIG_RTE_ENABLE_LTO=y
 
  in config file.

Thank you Matteo.

With regards
Andrzej Ostruszka

Reviewed-by Acked-by Andrzej Ostruszka on v1 1/1 Applied
#3 lore raw
In reply to Matteo Croce
Quoted 5 lines · Matteo Croce

The documentation says that CONFIG_ENABLE_LTO enables LTO during the build, but the correct value actually is CONFIG_RTE_ENABLE_LTO

Fixes 098cc0fea3be ("build: add option to enable LTO")
Quoted 1 line

Applied, thanks.

Signature · 1 line
David Marchand