mirror of
https://github.com/openharmony/device_soc_hpmicro.git
synced 2026-07-01 21:45:24 -04:00
Modify sdk build
- modify BUILD.gn for hpm_sdk Signed-off-by: Hongpeng HUO <hongpeng.huo@hpmicro.com>
This commit is contained in:
@@ -17,6 +17,7 @@ if (ohos_kernel_type == "liteos_m") {
|
||||
module_group(module_name) {
|
||||
modules = [
|
||||
"drivers",
|
||||
"sdk"
|
||||
]
|
||||
|
||||
if (defined(LOSCFG_SOC_SERIES_HPM6700)) {
|
||||
|
||||
@@ -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",
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user