Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Build Lite
提交
8bb3da68
B
Build Lite
项目概览
OpenHarmony
/
Build Lite
大约 1 年 前同步成功
通知
22
Star
24
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
Build Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8bb3da68
编写于
12月 03, 2020
作者:
O
openharmony_ci
提交者:
Gitee
12月 03, 2020
浏览文件
操作
浏览文件
下载
差异文件
!16 liteos-m refactoring
Merge pull request !16 from likailong/master
上级
e2ecad29
f963072e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
106 addition
and
105 deletion
+106
-105
config/kernel/liteos/cortex_m/BUILD.gn
config/kernel/liteos/cortex_m/BUILD.gn
+106
-105
未找到文件。
config/kernel/liteos/cortex_m/BUILD.gn
浏览文件 @
8bb3da68
# Copyright (c) 2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# Copyright (c) 2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
config("riscv32") {
defines = []
cflags = []
include_dirs = []
defines = [
"LOS_COMPILE_LDM",
"PRODUCT_USR_SOFT_VER_STR=\"None\"",
"CYGPKG_POSIX_SIGNALS",
"__ECOS__",
"__RTOS_",
"PRODUCT_CFG_HAVE_FEATURE_SYS_ERR_INFO",
"__LITEOS__",
"LIB_CONFIGURABLE",
"LOSCFG_SHELL",
"LOSCFG_CACHE_STATICS",
"CUSTOM_AT_COMMAND",
"LOS_COMPILE_LDM",
"LOS_CONFIG_IPERF3",
"CMSIS_OS_VER=2",
"SECUREC_ENABLE_SCANF_FILE=0",
"CONFIG_AT_COMMAND",
"PRODUCT_CFG_CHIP_VER_STR=\"Hi3861V100\"",
"CHIP_VER_Hi3861",
"PRODUCT_CFG_SOFT_VER_STR=\"Hi3861\"",
"HI_BOARD_ASIC",
"HI_ON_FLASH",
"LITEOS_WIFI_IOT_VERSION",
]
cflags = [
"-falign-functions=2",
"-msave-restore",
"-fno-optimize-strlen",
"-freorder-blocks-algorithm=simple",
"-fno-schedule-insns",
"-fno-inline-small-functions",
"-fno-inline-functions-called-once",
"-mtune=size",
"-mno-small-data-limit=0",
"-fno-aggressive-loop-optimizations",
"-std=c99",
"-Wpointer-arith",
"-Wstrict-prototypes",
"-fstack-protector-all",
"-Os",
"-ffunction-sections",
"-fdata-sections",
"-fno-exceptions",
"-fno-short-enums",
"-Wextra",
"-Wall",
"-Wundef",
"-U",
"PRODUCT_CFG_BUILD_TIME",
]
include_dirs += [
"//vendor/hisi/hi3861/hi3861/include",
"//vendor/hisi/hi3861/hi3861/platform/include",
"//vendor/hisi/hi3861/hi3861/platform/system/include",
"//vendor/hisi/hi3861/hi3861/config",
"//vendor/hisi/hi3861/hi3861/config/nv",
"//utils/native/lite/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/kernel/base/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/kernel/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/arch/risc-v/rv32im",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libm/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libsec/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/net/wpa_supplicant-2.7/src/common",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/plat/riscv",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/kernel/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/kernel/extended/runstop",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/posix/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/linux/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/net/lwip_sack/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/musl/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/generic",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/riscv32",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/hw/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/nuttx/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libsec/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/config",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/user",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/plat",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/extend/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/arch",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/bionic/libm",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/shell/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/net/telnet/include",
]
}
config("riscv32") {
defines = []
cflags = []
include_dirs = []
defines = [
"LOS_COMPILE_LDM",
"PRODUCT_USR_SOFT_VER_STR=\"None\"",
"CYGPKG_POSIX_SIGNALS",
"__ECOS__",
"__RTOS_",
"PRODUCT_CFG_HAVE_FEATURE_SYS_ERR_INFO",
"__LITEOS__",
"LIB_CONFIGURABLE",
"LOSCFG_SHELL",
"LOSCFG_CACHE_STATICS",
"CUSTOM_AT_COMMAND",
"LOS_COMPILE_LDM",
"LOS_CONFIG_IPERF3",
"CMSIS_OS_VER=2",
"SECUREC_ENABLE_SCANF_FILE=0",
"CONFIG_AT_COMMAND",
"PRODUCT_CFG_CHIP_VER_STR=\"Hi3861V100\"",
"CHIP_VER_Hi3861",
"PRODUCT_CFG_SOFT_VER_STR=\"Hi3861\"",
"HI_BOARD_ASIC",
"HI_ON_FLASH",
"LITEOS_WIFI_IOT_VERSION",
]
cflags = [
"-falign-functions=2",
"-msave-restore",
"-fno-optimize-strlen",
"-freorder-blocks-algorithm=simple",
"-fno-schedule-insns",
"-fno-inline-small-functions",
"-fno-inline-functions-called-once",
"-mtune=size",
"-mno-small-data-limit=0",
"-fno-aggressive-loop-optimizations",
"-std=c99",
"-Wpointer-arith",
"-Wstrict-prototypes",
"-fstack-protector-all",
"-Os",
"-ffunction-sections",
"-fdata-sections",
"-fno-exceptions",
"-fno-short-enums",
"-Wextra",
"-Wall",
"-Wundef",
"-U",
"PRODUCT_CFG_BUILD_TIME",
]
include_dirs += [
"//vendor/hisi/hi3861/hi3861/include",
"//vendor/hisi/hi3861/hi3861/platform/include",
"//vendor/hisi/hi3861/hi3861/platform/system/include",
"//vendor/hisi/hi3861/hi3861/config",
"//vendor/hisi/hi3861/hi3861/config/nv",
"//utils/native/lite/include",
"//kernel/liteos_m/kal/cmsis",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/kernel/base/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/kernel/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/arch/risc-v/rv32im",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libm/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libsec/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/net/wpa_supplicant-2.7/src/common",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/plat/riscv",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/kernel/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/kernel/extended/runstop",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/posix/include",
"//vendor/hisi/hi3861/hi3861/third_party/lwip_sack/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/net/lwip_sack/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/musl/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/generic",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/riscv32",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/hw/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/nuttx/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libsec/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/config",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/user",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/plat",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/targets/hi3861v100/extend/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/arch",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/components/lib/libc/bionic/libm",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/shell/include",
"//vendor/hisi/hi3861/hi3861/platform/os/Huawei_LiteOS/net/telnet/include",
]
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录