mirror of
https://github.com/openharmony/prebuilts_lite_sysroot.git
synced 2026-07-01 03:05:12 -04:00
!80 fix: add macro to control the build of sysroot
Merge pull request !80 from Harylee/qemu
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