• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED.
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
14# Kernel type, e.g. "linux", "liteos_a", "liteos_m".
15kernel_type = "liteos_a"
16
17# Kernel version.
18kernel_version = ""
19
20# Board CPU type, e.g. "cortex-a7", "riscv32".
21board_cpu = "cortex-a7"
22
23# Board arch, e.g.  "armv7-a", "rv32imac".
24board_arch = ""
25
26# Toolchain name used for system compiling.
27# E.g. gcc-arm-none-eabi, arm-linux-harmonyeabi-gcc, ohos-clang,  riscv32-unknown-elf.
28# Note: The default toolchain is "ohos-clang". It's not mandatory if you use the default toolchain.
29board_toolchain = ""
30
31# The toolchain path installed, it's not mandatory if you have added toolchain path to your ~/.bashrc.
32board_toolchain_path = ""
33
34# Compiler prefix.
35board_toolchain_prefix = ""
36
37# Compiler type, "gcc" or "clang".
38board_toolchain_type = "clang"
39
40# Board related common compile flags.
41board_cflags = [
42  "-mfloat-abi=softfp",
43  "-mfpu=neon-vfpv4",
44]
45board_cxx_flags = [
46  "-mfloat-abi=softfp",
47  "-mfpu=neon-vfpv4",
48]
49board_ld_flags = []
50
51# Board related headfiles search path.
52board_include_dirs = []
53
54# Board adapter dir for OHOS components.
55board_adapter_dir = "//device/soc/hisilicon/common/hal"
56
57# Sysroot path.
58board_configed_sysroot = ""
59
60# Board storage type, it used for file system generation.
61storage_type = "emmc"
62