Nuttx sim support.

This commit is contained in:
James Goppert
2015-09-09 08:18:41 -04:00
parent b781093c19
commit b6b25f2ad1
8 changed files with 712 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# compiler tools
foreach(tool objcopy nm ld)
string(TOUPPER ${tool} TOOL)
find_program(${TOOL} ${tool})
if(NOT ${TOOL})
message(FATAL_ERROR "could not find ${tool}")
endif()
endforeach()
# os tools
foreach(tool echo patch grep rm mkdir nm genromfs awk cp touch make unzip)
string(TOUPPER ${tool} TOOL)
find_program(${TOOL} ${tool})
if(NOT ${TOOL})
message(FATAL_ERROR "could not find ${TOOL}")
endif()
endforeach()