提交 1ab0687f 编写于 作者: C Caoruihong

feat(build): add ohos_kernel_is_prebuilt

ohos_kernel_is_prebuilt parameter is used to mark if kernel is prebuilt,
for example, the kernel of hi3861 platform is a kind of prebuilt kernel.
Signed-off-by: NCaoruihong <crh.cao@huawei.com>
Change-Id: Ic55e3a3c6478a4aaf807fa9d68165116ac9a1e6e
上级 66d7aa7c
......@@ -37,6 +37,7 @@ declare_args() {
ohos_build_target = ""
ohos_build_compiler_dir = ""
ohos_kernel_type = ""
ohos_kernel_is_prebuilt = false
use_board_toolchain = true
# hb set it to true if ccache installed.
......@@ -62,6 +63,9 @@ if (product_path != "") {
# Supported kernel: "liteos_a", "liteos_m", "linux"
ohos_kernel_type = product_config.kernel_type
if (defined(product_config.kernel_is_prebuilt)) {
ohos_kernel_is_prebuilt = product_config.kernel_is_prebuilt
}
# To be deleted, and will use board config.
if (defined(product_config.vendor_adapter_dir)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册