提交 881398fe 编写于 作者: H Haryslee

fix: add macro to control the build of sysroot

close #I53VW6
Signed-off-by: NHaryslee <lihao189@huawei.com>
Change-Id: I45d625e74e7d7d70f3ceaf1ca12eae5fe75b5f35
上级 af8a976e
......@@ -30,7 +30,10 @@
group("sysroot") {
print("ohos_build_compiler:", ohos_build_compiler)
print("ohos_kernel_type:", ohos_kernel_type)
if (ohos_kernel_type != "liteos_m") {
# Mini system of liteos_a needs not prepare for build, so set "kernel_is_prebuilt is true" in
# config.json to avoid it.
if (ohos_kernel_type != "liteos_m" && !ohos_kernel_is_prebuilt) {
deps = [ "build" ]
} else if (!ohos_kernel_is_prebuilt) {
all_dependent_configs = [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册