未验证 提交 c13f0352 编写于 作者: O openharmony_ci 提交者: Gitee

!1066 fix:解决musl编译问题

Merge pull request !1066 from Mupceet/mulsfix
...@@ -114,6 +114,8 @@ if (defined(ohos_lite)) { ...@@ -114,6 +114,8 @@ if (defined(ohos_lite)) {
sources = comm_sources sources = comm_sources
sources += [ sources += [
"//base/startup/init/services/log/init_commlog.c", "//base/startup/init/services/log/init_commlog.c",
"//base/startup/init/services/param/adapter/param_dac.c",
"//base/startup/init/services/param/base/param_base.c",
"//base/startup/init/services/param/linux/param_osadp.c", "//base/startup/init/services/param/linux/param_osadp.c",
] ]
cflags = [ "-fPIC" ] cflags = [ "-fPIC" ]
...@@ -128,6 +130,8 @@ if (defined(ohos_lite)) { ...@@ -128,6 +130,8 @@ if (defined(ohos_lite)) {
"//third_party/selinux/libselinux/include/", "//third_party/selinux/libselinux/include/",
"//base/security/selinux/interfaces/policycoreutils/include/", "//base/security/selinux/interfaces/policycoreutils/include/",
] ]
sources +=
[ "//base/startup/init/services/param/adapter/param_selinux.c" ]
defines += [ defines += [
"PARAM_SUPPORT_SELINUX", "PARAM_SUPPORT_SELINUX",
"PARAMWORKSPACE_NEED_MUTEX", "PARAMWORKSPACE_NEED_MUTEX",
......
...@@ -24,7 +24,6 @@ if (defined(ohos_lite)) { ...@@ -24,7 +24,6 @@ if (defined(ohos_lite)) {
executable("ueventd_linux") { executable("ueventd_linux") {
sources = [ sources = [
"//base/startup/init/services/utils/init_utils.c", "//base/startup/init/services/utils/init_utils.c",
"//base/startup/init/services/utils/list.c",
"//base/startup/init/ueventd/lite/ueventd_parameter.c", "//base/startup/init/ueventd/lite/ueventd_parameter.c",
"//base/startup/init/ueventd/ueventd.c", "//base/startup/init/ueventd/ueventd.c",
"//base/startup/init/ueventd/ueventd_device_handler.c", "//base/startup/init/ueventd/ueventd_device_handler.c",
...@@ -55,7 +54,6 @@ if (defined(ohos_lite)) { ...@@ -55,7 +54,6 @@ if (defined(ohos_lite)) {
} else { } else {
import("//build/ohos.gni") import("//build/ohos.gni")
service_ueventd_sources = [ service_ueventd_sources = [
"//base/startup/init/services/utils/list.c",
"//base/startup/init/ueventd/ueventd.c", "//base/startup/init/ueventd/ueventd.c",
"//base/startup/init/ueventd/ueventd_device_handler.c", "//base/startup/init/ueventd/ueventd_device_handler.c",
"//base/startup/init/ueventd/ueventd_firmware_handler.c", "//base/startup/init/ueventd/ueventd_firmware_handler.c",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册