[OHOS INFO] **************************************************
[OHOS INFO] ./kernel_module_build.sh /home/openharmony/out/imx6ul_nand_linux/imx6ul_nand_openharmony small /home/openharmony/prebuilts/clang/ohos/linux-x86_64/llvm vendor/xingyun/imx6ul_nand_linux imx6ul_nand_linux linux-4.1.15
[OHOS INFO] **************************************************
/kernel/linux/build/BUILD.gn
调用/kernel/linux/build/kernel_module_build.sh
if (defined(ohos_lite)) {
build_ext_component("linux_kernel") {
exec_path = rebase_path(".", root_build_dir)
outdir = rebase_path("$root_out_dir")
clang_dir = ""
if (ohos_build_compiler_dir != "") {
clang_dir = rebase_path("${ohos_build_compiler_dir}")
}
build_type = "small"
product_path_rebase = rebase_path(product_path, ohos_root_path)
if ( board_name == "imx6ul_nand_linux") {
command = "./kernel_module_build.sh ${outdir} ${build_type} ${clang_dir} ${product_path_rebase} ${board_name} linux-${kernel_version}"
print("**************************************************")
print(command)
print("**************************************************")
} else {
command = "./kernel_module_build.sh ${outdir} ${build_type} ${clang_dir} ${product_path_rebase} ${board_name} ${linux_kernel_version}"
}
deps = [ "//build/lite:mark_as_prebuilts" ]
}
}