mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
[cmake] savedefconfig.cmake: fix EOL changes to defconfig files on Windows
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: ../../boards/arm/stm32/nucleo-l152re/configs/nsh/defconfig
no changes added to commit (use "git add" and/or "git commit -a")
This commit is contained in:
@@ -71,4 +71,7 @@ foreach(LINE IN LISTS LINES)
|
||||
file(APPEND ${OUTPUT_FILE} "${LINE}\n")
|
||||
endforeach()
|
||||
|
||||
# Converts the newline style for the output file.
|
||||
configure_file(${OUTPUT_FILE} ${OUTPUT_FILE} @ONLY NEWLINE_STYLE LF)
|
||||
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E remove ${TARGET_FILE})
|
||||
|
||||
Reference in New Issue
Block a user