• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/lite/config/component/lite_component.gni")
15import("//kernel/liteos_m/liteos.gni")
16
17print("SOC:CHIPSEA:CST85")
18
19module_name = get_path_info(rebase_path("."), "name")
20print("SOC:CHIPSEA:CST85 - $module_name")
21module_group(module_name) {
22  modules = [ "liteos_m" ]
23}
24#build_ext_component("cst85f01") {
25#  print("SOC:CHIPSEA:CST85 ext component")
26#  exec_path = rebase_path(".", root_build_dir)
27#  outdir = rebase_path("$root_out_dir")
28#
29#  print("$board_toolchain")
30#  print("------>> $exec_path ")
31#  print("------>> $outdir")
32#
33#  if (board_toolchain_path != "") {
34#    toolchain_path = rebase_path("$board_toolchain_path")
35#    command = "./build.sh ${outdir} ${toolchain_path}"
36#  } else {
37#    command = "./build.sh ${outdir}"
38#  }
39#
40#  deps = [
41#    "//build/lite:ohos" ,
42#    ":startup_boot"
43#  ]
44#}
45#
46#static_library("startup_boot") {
47#  print("SOC:CHIPSEA:CST85 startup_boot")
48#  sources = [
49#    "startup_boot.s",
50#    "exception.s",
51#  ]
52#
53#  include_dirs = [
54#    "."  ,
55#    "Core/Inc",
56#    "Core/Inc/board",
57#    "Core/Src/driver/dbg/api",
58#    "Core/Src/driver/ticker/",
59#    "Core/Inc/driver",
60#    "Core/Inc/driver/ipc",
61#  ]
62#
63#  deps = [
64##     "//drivers/hdf_core/adapter/khdf/liteos_m:hdf_lite",
65#     "Core:core",
66#     "handler:handler",
67#  ]
68#}
69