chore(musl): reduce the modifications of musl
Signed-off-by: Caoruihong <crh.cao@huawei.com> Change-Id: I32b820bc0eb7465bf54d506e7f5e759ef64101e2
This commit is contained in:
@@ -60,6 +60,8 @@ kernel_module(module_name) {
|
||||
"$OPTRTDIR/string/arm/strcmp.S",
|
||||
"$OPTRTDIR/string/arm/strcpy.c",
|
||||
"$OPTRTDIR/string/arm/strlen-armv6t2.S",
|
||||
]
|
||||
sources += [
|
||||
"src/arch/arm/memset.S",
|
||||
"src/arch/arm/memcmp.S",
|
||||
]
|
||||
@@ -70,12 +72,20 @@ kernel_module(module_name) {
|
||||
]
|
||||
}
|
||||
|
||||
include_dirs = [
|
||||
"$MUSLPORTINGDIR/src/include",
|
||||
"$MUSLPORTINGDIR/src/internal",
|
||||
]
|
||||
|
||||
public_configs = [ ":public" ]
|
||||
configs += [ ":private" ]
|
||||
}
|
||||
|
||||
config("public") {
|
||||
include_dirs = [ "$MUSLPORTINGDIR/include" ]
|
||||
cflags = [
|
||||
"-isystem",
|
||||
rebase_path("$MUSLPORTINGDIR/include"),
|
||||
]
|
||||
}
|
||||
|
||||
config("private") {
|
||||
@@ -92,8 +102,9 @@ config("private") {
|
||||
]
|
||||
}
|
||||
|
||||
include_dirs = [
|
||||
"$MUSLPORTINGDIR/src/include",
|
||||
"$MUSLPORTINGDIR/src/internal",
|
||||
cflags += [
|
||||
"-Wno-shift-op-parentheses",
|
||||
"-Wno-logical-op-parentheses",
|
||||
"-Wno-bitwise-op-parentheses",
|
||||
]
|
||||
}
|
||||
|
||||
@@ -53,5 +53,6 @@ LOCAL_FLAGS +=-Wno-char-subscripts -Wno-unknown-pragmas
|
||||
else
|
||||
LOCAL_FLAGS += -frounding-math -Wno-unused-but-set-variable -Wno-unknown-pragmas
|
||||
endif
|
||||
LOCAL_FLAGS += -Wno-shift-op-parentheses -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses
|
||||
|
||||
include $(MODULE)
|
||||
|
||||
Reference in New Issue
Block a user