1# Copyright (C) 2021 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved. 2 3# Kernel type, e.g. "linux", "liteos_a", "liteos_m". 4kernel_type = "linux" 5 6# Kernel version. 7kernel_version = "4.19" 8 9# Board CPU type, e.g. "cortex-a7", "riscv32". 10board_cpu = "cortex-a7" 11 12# Board arch, e.g. "armv7-a", "rv32imac". 13board_arch = "" 14 15# Toolchain name used for system compiling. 16# E.g. gcc-arm-none-eabi, arm-linux-harmonyeabi-gcc, ohos-clang, riscv32-unknown-elf. 17# Note: The default toolchain is "ohos-clang". It's not mandatory if you use the default toolchain. 18board_toolchain = "" 19 20# The toolchain path installed, it's not mandatory if you have added toolchain path to your ~/.bashrc. 21board_toolchain_path = "" 22 23# Compiler prefix. 24board_toolchain_prefix = "" 25 26# Compiler type, "gcc" or "clang". 27board_toolchain_type = "clang" 28 29# Board related common compile flags. 30board_cflags = [ 31 "-mfloat-abi=softfp", 32 "-mfpu=neon-vfpv4", 33] 34board_cxx_flags = [ 35 "-mfloat-abi=softfp", 36 "-mfpu=neon-vfpv4", 37] 38board_ld_flags = [] 39 40# Board related headfiles search path. 41board_include_dirs = [] 42 43# Board adapter dir for OHOS components. 44board_adapter_dir = "//device/board/hisilicon/hal" 45 46# Sysroot path. 47board_configed_sysroot = "" 48 49# Board storage type, it used for file system generation. 50storage_type = "emmc" 51