Skip to content

Commit

Permalink
cmake: fix typo target_cc_options -> target_cc_option
Browse files Browse the repository at this point in the history
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif committed Aug 29, 2017
1 parent b96c48e commit 40be515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if(CONFIG_FLOAT)
set(FPU_FOR_cortex-m4 fpv4-sp-d16)
set(FPU_FOR_cortex-m7 fpv5-d16)
set(FPU_FOR_cortex-m33 fpv5-d16)
target_cc_options(zephyr PUBLIC -mfpu=${FPU_FOR_${GCC_M_CPU}})
target_cc_option(zephyr PUBLIC -mfpu=${FPU_FOR_${GCC_M_CPU}})

if (CONFIG_FP_SOFTABI)
target_cc_option(zephyr PUBLIC -mfloat-abi=soft)
Expand Down
2 changes: 1 addition & 1 deletion cmake/extensions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ endfunction()

function(target_cc_option_ifdef feature_toggle target scope option)
if(${feature_toggle})
target_cc_options(${target} ${scope} ${option})
target_cc_option(${target} ${scope} ${option})
endif()
endfunction()

Expand Down

0 comments on commit 40be515

Please sign in to comment.