1# Copyright (c) 2020-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 14# Kernel type, e.g. "linux", "liteos_a", "liteos_m". 15kernel_type = "liteos_a" 16 17# Kernel version. 18kernel_version = "3.0.0.mini" 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 = "arm-none-eabi-gcc" 30use_board_toolchain = true 31 32# The toolchain path installed, it's not mandatory if you have added toolchain path to your PATH. 33board_toolchain_path = "" 34 35# Compiler prefix. 36board_toolchain_prefix = "arm-none-eabi-" 37 38# Compiler type, "gcc" or "clang". 39board_toolchain_type = "gcc" 40 41# Board related common compile flags. 42board_cflags = [ 43 "-mfloat-abi=softfp", 44 "-mfpu=neon-vfpv4", 45] 46board_cxx_flags = [ 47 "-mfloat-abi=softfp", 48 "-mfpu=neon-vfpv4", 49] 50board_ld_flags = [] 51 52# Board related headfiles search path. 53board_include_dirs = [] 54 55# Board adapter dir for OHOS components. 56board_adapter_dir = "" 57 58# Sysroot path. 59board_configed_sysroot = "" 60 61# Board storage type, it used for file system generation. 62storage_type = "" 63