mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-24 11:14:01 +00:00
CLKS拆分:第一步
This commit is contained in:
@@ -20,10 +20,11 @@ function(require_tool TOOL_VALUE)
|
||||
endfunction()
|
||||
|
||||
cl_log_step("checking host tools")
|
||||
if(NOT DEFINED CLEONOS_ENABLE)
|
||||
set(CLEONOS_ENABLE ON)
|
||||
endif()
|
||||
|
||||
require_tool("${GIT_TOOL}")
|
||||
require_tool("${TAR_TOOL}")
|
||||
require_tool("${XORRISO_TOOL}")
|
||||
require_tool("${CC_TOOL}")
|
||||
require_tool("${LD_TOOL}")
|
||||
require_tool("${OBJCOPY_TOOL}")
|
||||
@@ -31,10 +32,14 @@ require_tool("${OBJDUMP_TOOL}")
|
||||
require_tool("${READELF_TOOL}")
|
||||
require_tool("${NM_TOOL}")
|
||||
require_tool("${ADDR2LINE_TOOL}")
|
||||
require_tool("${USER_CC_TOOL}")
|
||||
require_tool("${USER_LD_TOOL}")
|
||||
require_tool("${RUSTC_TOOL}")
|
||||
require_tool("${MAKE_TOOL}")
|
||||
require_tool("${SH_TOOL}")
|
||||
if(CLEONOS_ENABLE)
|
||||
require_tool("${TAR_TOOL}")
|
||||
require_tool("${XORRISO_TOOL}")
|
||||
require_tool("${USER_CC_TOOL}")
|
||||
require_tool("${USER_LD_TOOL}")
|
||||
endif()
|
||||
|
||||
cl_log_info("required tools are available")
|
||||
|
||||
Reference in New Issue
Block a user