Modify sdk build

- modify BUILD.gn for hpm_sdk

Signed-off-by: Hongpeng HUO <hongpeng.huo@hpmicro.com>
This commit is contained in:
Hongpeng HUO
2022-08-15 11:25:36 +08:00
parent 8e608c2e4d
commit 809966b102
3 changed files with 3 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@ if (ohos_kernel_type == "liteos_m") {
module_group(module_name) {
modules = [
"drivers",
"sdk"
]
if (defined(LOSCFG_SOC_SERIES_HPM6700)) {
-1
View File
@@ -15,7 +15,6 @@ import("//kernel/liteos_m/liteos.gni")
module_name = get_path_info(rebase_path("."), "name")
module_group(module_name) {
modules = [
"sdk",
"liteos_m",
]
}
+2 -2
View File
@@ -14,8 +14,8 @@
import("//kernel/liteos_m/liteos.gni")
module_name = get_path_info(rebase_path("."), "name")
module_switch = defined(LOSCFG_SOC_SERIES_HPM6700)
hpm_sdk_path = "//device/soc/hpmicro/hpm_sdk"
module_switch = true
hpm_sdk_path = "//device/soc/hpmicro/sdk/hpm_sdk"
kernel_module(module_name) {
include_dirs = [