Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos A
提交
bfb74b20
K
Kernel Liteos A
项目概览
OpenHarmony
/
Kernel Liteos A
1 年多 前同步成功
通知
460
Star
414
Fork
55
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos A
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
bfb74b20
编写于
6月 17, 2021
作者:
O
openharmony_ci
提交者:
Gitee
6月 17, 2021
浏览文件
操作
浏览文件
下载
差异文件
!318 fix: avoid compile warning ignored
Merge pull request !318 from MGY917/citu_clean
上级
a760c268
eca711bb
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
8 deletion
+9
-8
apps/config.mk
apps/config.mk
+1
-1
build.sh
build.sh
+6
-6
kernel/extended/vdso/usr/Makefile
kernel/extended/vdso/usr/Makefile
+2
-1
未找到文件。
apps/config.mk
浏览文件 @
bfb74b20
...
...
@@ -37,7 +37,7 @@ LIBSOUT := $(OBJOUT)/libs
IMGOUT
:=
$(OUT)
# common flags config
BASE_OPTS
:=
-ffunction-sections
-fdata-sections
-fno-omit-frame-pointer
-D_GNU_SOURCE
\
BASE_OPTS
:=
-ffunction-sections
-fdata-sections
-fno-omit-frame-pointer
-
fno-common
-fno-strict-aliasing
-
D_GNU_SOURCE
\
$(LITEOS_SSP)
$(LITEOS_CORE_COPTS)
$(WARNING_AS_ERROR)
$(LLVM_EXTRA_OPTS)
$(LITEOS_GCOV_OPTS)
CFLAGS
:=
-std
=
c99
-fno-exceptions
$(BASE_OPTS)
$(LITEOS_COPTS_OPTMIZE)
...
...
build.sh
浏览文件 @
bfb74b20
...
...
@@ -38,22 +38,22 @@ outdir="../..$3/test_info/gen/kernel/test"
if
[
"
$5
"
=
"tee"
]
;
then
tee
=
"_tee"
fi
product
N
ame
=
"
$(
basename
$7
)
"
source
=
"tools/build/config/
${
product
N
ame
}
_release.config"
product
_n
ame
=
"
$(
basename
$7
)
"
source
=
"tools/build/config/
${
product
_n
ame
}
_release.config"
if
[
"
$2
"
=
"clang"
]
;
then
if
[
"
$4
"
=
"debug"
]
;
then
config_file
=
"
${
product
N
ame
}
_
$2$tee
.config"
config_file
=
"
${
product
_n
ame
}
_
$2$tee
.config"
source
=
"tools/build/config/debug/
$config_file
"
else
config_file
=
"
${
product
N
ame
}
_
$2_release$tee
.config"
config_file
=
"
${
product
_n
ame
}
_
$2_release$tee
.config"
source
=
"tools/build/config/
$config_file
"
fi
elif
[
"
$2
"
=
"gcc"
]
;
then
if
[
"
$4
"
=
"debug"
]
;
then
config_file
=
"
${
product
N
ame
}
_debug_shell
$tee
.config"
config_file
=
"
${
product
_n
ame
}
_debug_shell
$tee
.config"
source
=
"tools/build/config/
$config_file
"
else
config_file
=
"
${
product
N
ame
}
_release
$tee
.config"
config_file
=
"
${
product
_n
ame
}
_release
$tee
.config"
source
=
"tools/build/config/
$config_file
"
fi
fi
...
...
kernel/extended/vdso/usr/Makefile
浏览文件 @
bfb74b20
...
...
@@ -37,7 +37,8 @@ VDSO_INCLUDE := -I $(LITEOSTOPDIR)/kernel/extended/vdso/include \
-I
$(LITEOSTOPDIR)
/kernel/common
\
-I
$(LITEOSTOPDIR)
/bsd/compat/linuxkpi/include
VDSO_CCFLAGS
:=
-nostdlib
-fPIC
$(LITEOS_SSP)
$(LITEOS_CORE_COPTS)
$(WARNING_AS_ERROR)
$(LITEOS_COPTS_OPTMIZE)
VDSO_CCFLAGS
:=
-nostdlib
-fPIC
-fno-common
-fno-strict-aliasing
\
$(LITEOS_SSP)
$(LITEOS_CORE_COPTS)
$(WARNING_AS_ERROR)
$(LITEOS_COPTS_OPTMIZE)
ifeq
($(LOSCFG_COMPILER_CLANG_LLVM), y)
VDSO_CCFLAGS
+=
$(LLVM_EXTRA_OPTS)
--sysroot
=
$(LITEOSTOPDIR)
/../../prebuilts/lite/sysroot/
endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录