mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 06:13:34 +08:00
cmake: POSIX/RPi build don't need patch/genromfs (#4733)
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
# C_COMPILER
|
# C_COMPILER
|
||||||
# CMAKE_SYSTEM_NAME
|
# CMAKE_SYSTEM_NAME
|
||||||
# CMAKE_SYSTEM_VERSION
|
# CMAKE_SYSTEM_VERSION
|
||||||
# GENROMFS
|
|
||||||
# LINKER_FLAGS
|
# LINKER_FLAGS
|
||||||
# CMAKE_EXE_LINKER_FLAGS
|
# CMAKE_EXE_LINKER_FLAGS
|
||||||
# CMAKE_FIND_ROOT_PATH
|
# CMAKE_FIND_ROOT_PATH
|
||||||
@@ -63,7 +62,7 @@ foreach(tool objcopy nm ld)
|
|||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
# os tools
|
# os tools
|
||||||
foreach(tool echo patch grep rm mkdir nm genromfs cp touch make unzip)
|
foreach(tool echo grep rm mkdir nm cp touch make unzip)
|
||||||
string(TOUPPER ${tool} TOOL)
|
string(TOUPPER ${tool} TOOL)
|
||||||
find_program(${TOOL} ${tool})
|
find_program(${TOOL} ${tool})
|
||||||
if(NOT ${TOOL})
|
if(NOT ${TOOL})
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ foreach(tool nm ld)
|
|||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
# os tools
|
# os tools
|
||||||
foreach(tool echo patch grep rm mkdir nm genromfs cp touch make unzip)
|
foreach(tool echo grep rm mkdir nm cp touch make unzip)
|
||||||
string(TOUPPER ${tool} TOOL)
|
string(TOUPPER ${tool} TOOL)
|
||||||
find_program(${TOOL} ${tool})
|
find_program(${TOOL} ${tool})
|
||||||
if(NOT ${TOOL})
|
if(NOT ${TOOL})
|
||||||
|
|||||||
Reference in New Issue
Block a user