mirror of
https://github.com/openharmony/prebuilts_lite_sysroot.git
synced 2026-07-01 03:05:12 -04:00
fix: add macro to control the build of sysroot
close #I53VW6 Signed-off-by: Haryslee <lihao189@huawei.com> Change-Id: I45d625e74e7d7d70f3ceaf1ca12eae5fe75b5f35
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user