CLKS拆分:第一步

This commit is contained in:
2026-04-23 19:30:12 +08:00
parent 5573ea1948
commit 3ed3f6acfe
8 changed files with 421 additions and 145 deletions

View File

@@ -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")