File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -583,8 +583,8 @@ if(NOT CONFIG_ARCH_SIM)
583
583
get_filename_component (LD_SCRIPT_NAME ${ldscript} NAME )
584
584
set (LD_SCRIPT_TMP "${CMAKE_BINARY_DIR} /${LD_SCRIPT_NAME} .tmp" )
585
585
586
- nuttx_generate_preproces_target (SOURCE_FILE ${ldscript} TARGET_FILE
587
- ${LD_SCRIPT_TMP} )
586
+ nuttx_generate_preprocess_target (SOURCE_FILE ${ldscript} TARGET_FILE
587
+ ${LD_SCRIPT_TMP} )
588
588
589
589
add_custom_target (ldscript_tmp DEPENDS ${LD_SCRIPT_TMP} )
590
590
add_dependencies (nuttx ldscript_tmp )
@@ -761,8 +761,8 @@ if(CONFIG_BUILD_PROTECTED)
761
761
# Pre-compile linker script
762
762
get_filename_component (LD_SCRIPT_USER_NAME ${user_ldscript} NAME )
763
763
set (LD_SCRIPT_USER_TMP "${CMAKE_BINARY_DIR} /${LD_SCRIPT_USER_NAME} .tmp" )
764
- nuttx_generate_preproces_target (SOURCE_FILE ${user_ldscript} TARGET_FILE
765
- ${LD_SCRIPT_USER_TMP} )
764
+ nuttx_generate_preprocess_target (SOURCE_FILE ${user_ldscript} TARGET_FILE
765
+ ${LD_SCRIPT_USER_TMP} )
766
766
add_custom_target (user_ldscript_tmp DEPENDS ${LD_SCRIPT_USER_TMP} )
767
767
add_dependencies (nuttx_user user_ldscript_tmp )
768
768
set (user_ldscript ${LD_SCRIPT_USER_TMP} )
Original file line number Diff line number Diff line change @@ -194,17 +194,17 @@ endif()
194
194
195
195
set (PREPROCESS ${CMAKE_C_COMPILER} ${CMAKE_C_FLAG_ARGS} -E -P )
196
196
197
- # override nuttx_generate_preproces_target
197
+ # override nuttx_generate_preprocess_target
198
198
199
- set (NUTTX_TOOLCHAIN_PREPROCES_DEFINED true )
199
+ set (NUTTX_TOOLCHAIN_PREPROCESS_DEFINED true )
200
200
201
- function (nuttx_generate_preproces_target )
201
+ function (nuttx_generate_preprocess_target )
202
202
203
203
# parse arguments into variables
204
204
205
205
nuttx_parse_function_args (
206
206
FUNC
207
- nuttx_generate_preproces_target
207
+ nuttx_generate_preprocess_target
208
208
ONE_VALUE
209
209
SOURCE_FILE
210
210
TARGET_FILE
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ function(nuttx_add_romfs)
101
101
if (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR} /${rcpath} )
102
102
file (MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /${rcpath} )
103
103
endif ()
104
- nuttx_generate_preproces_target (
104
+ nuttx_generate_preprocess_target (
105
105
SOURCE_FILE ${SOURCE_ETC_PREFIX} /${SOURCE_ETC_SUFFIX} TARGET_FILE
106
106
${CMAKE_CURRENT_BINARY_DIR} /${SOURCE_ETC_SUFFIX} DEPENDS nuttx_context )
107
107
list (APPEND DEPENDS ${CMAKE_CURRENT_BINARY_DIR} /${SOURCE_ETC_SUFFIX} )
Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ if(EXTRA_FLAGS)
37
37
endif ()
38
38
39
39
# ~~~
40
- # nuttx_generate_preproces_target
40
+ # nuttx_generate_preprocess_target
41
41
#
42
42
# Description:
43
43
# because different toolchains have different preprocessing instructions,
44
44
# we define the COMMON preprocessing target here.
45
45
#
46
46
# Prototype:
47
- # nuttx_generate_preproces_target (
47
+ # nuttx_generate_preprocess_target (
48
48
# SOURCE_FILE
49
49
# ${single_source_file}
50
50
# TARGET_FILE
@@ -54,14 +54,14 @@ endif()
54
54
# ~~~
55
55
56
56
#
57
- if (NOT NUTTX_TOOLCHAIN_PREPROCES_DEFINED )
58
- function (nuttx_generate_preproces_target )
57
+ if (NOT NUTTX_TOOLCHAIN_PREPROCESS_DEFINED )
58
+ function (nuttx_generate_preprocess_target )
59
59
60
60
# parse arguments into variables
61
61
62
62
nuttx_parse_function_args (
63
63
FUNC
64
- nuttx_generate_preproces_target
64
+ nuttx_generate_preprocess_target
65
65
ONE_VALUE
66
66
SOURCE_FILE
67
67
TARGET_FILE
You can’t perform that action at this time.
0 commit comments