[cmake] windows native: fixed FAILED: System.map

fixed

[1025/1027] Generating System.map
FAILED: System.map C:/nuttxgit/nuttx/build/System.map
cmd.exe /C "cd /D C:\nuttxgit\nuttx\build && arm-none-eabi-nm nuttx | grep -v '(compiled)|($)|( [aUw] )|(..ng$)|(LASH[RL]DI)' | sort > System.map"
This commit is contained in:
simbit18 2024-12-13 16:07:10 +01:00 committed by Alan C. Assis
parent 566e1c3a7d
commit d90559f94e

View file

@ -751,7 +751,7 @@ endif()
# Generate system map using the compiler toolchain. Conventionally, the tool # Generate system map using the compiler toolchain. Conventionally, the tool
# which dump symbols are called nm, though, some compiler toolchain may have a # which dump symbols are called nm, though, some compiler toolchain may have a
# different name. # different name.
if(NOT WIN32) if(NOT CMAKE_HOST_WIN32)
add_custom_command( add_custom_command(
OUTPUT System.map OUTPUT System.map
COMMAND COMMAND