cmake: POSIX/RPi build don't need patch/genromfs (#4733)

This commit is contained in:
Julian Oes 2016-06-05 11:02:13 +01:00 committed by Lorenz Meier
parent 1880d1f6fd
commit eea102f63d
2 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@
# C_COMPILER
# CMAKE_SYSTEM_NAME
# CMAKE_SYSTEM_VERSION
# GENROMFS
# LINKER_FLAGS
# CMAKE_EXE_LINKER_FLAGS
# CMAKE_FIND_ROOT_PATH
@ -63,7 +62,7 @@ foreach(tool objcopy nm ld)
endforeach()
# 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)
find_program(${TOOL} ${tool})
if(NOT ${TOOL})

View File

@ -8,7 +8,7 @@ foreach(tool nm ld)
endforeach()
# 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)
find_program(${TOOL} ${tool})
if(NOT ${TOOL})