From 0039fb86e77ccddd566b01fc89ff45491fd43b81 Mon Sep 17 00:00:00 2001 From: Timor Gruber Date: Wed, 15 Jan 2020 23:29:46 +0200 Subject: [PATCH] doc: cmake: fixed 'strip_prefix' inconsistency The `zephyr_get_xxx` API for option fetching enables prefix stripping. For some reason the main API docs named it 'SKIP_PREFIX' instead. Signed-off-by: Timor Gruber --- cmake/extensions.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/extensions.cmake b/cmake/extensions.cmake index ab7cb2ea332..45b09851788 100644 --- a/cmake/extensions.cmake +++ b/cmake/extensions.cmake @@ -133,7 +133,7 @@ endfunction() # includes, options). # # The naming convention follows: -# zephyr_get_${build_information}_for_lang${format}(lang x [SKIP_PREFIX]) +# zephyr_get_${build_information}_for_lang${format}(lang x [STRIP_PREFIX]) # Where # the argument 'x' is written with the result # and @@ -152,11 +152,11 @@ endfunction() # - CXX # - ASM # -# SKIP_PREFIX +# STRIP_PREFIX # # By default the result will be returned ready to be passed directly # to a compiler, e.g. prefixed with -D, or -I, but it is possible to -# omit this prefix by specifying 'SKIP_PREFIX' . This option has no +# omit this prefix by specifying 'STRIP_PREFIX' . This option has no # effect for 'compile_options'. # # e.g.