diff --git a/BUILD.gn b/BUILD.gn index 5ffc39d65bd5b23810b23e6275e9a833b7cc0ac5..739bab233cda41c2f26bd9f1bf11d77f136ad9df 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -18,7 +18,10 @@ if (defined(ohos_lite)) { import("//build/config/clang/clang.gni") } -kernel_version = "linux-4.19" +declare_args() { + kernel_version = "linux-4.19" +} + if (defined(ohos_lite)) { build_ext_component("linux_kernel") { exec_path = rebase_path(".", root_build_dir)