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 <timor.gruber@gmail.com>
This commit is contained in:
parent
b5c63c69ca
commit
0039fb86e7
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue