Merge "Merge keystone/android12-5.10-keystone-qcom-release.101+ (49a1520
) into msm-5.10"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
c63cee40b3
@@ -51,6 +51,7 @@ KBUILD_CFLAGS += -Wno-sign-compare
|
||||
KBUILD_CFLAGS += -Wno-format-zero-length
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast)
|
||||
KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
|
||||
KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access)
|
||||
endif
|
||||
|
||||
endif
|
||||
|
@@ -59,12 +59,8 @@ Otherwise DTx is treated as a dts source file (aka .dts).
|
||||
or '/include/' to be processed.
|
||||
|
||||
If DTx_1 and DTx_2 are in different architectures, then this script
|
||||
may not work since \${ARCH} is part of the include path. Two possible
|
||||
workarounds:
|
||||
|
||||
`basename $0` \\
|
||||
<(ARCH=arch_of_dtx_1 `basename $0` DTx_1) \\
|
||||
<(ARCH=arch_of_dtx_2 `basename $0` DTx_2)
|
||||
may not work since \${ARCH} is part of the include path. The following
|
||||
workaround can be used:
|
||||
|
||||
`basename $0` ARCH=arch_of_dtx_1 DTx_1 >tmp_dtx_1.dts
|
||||
`basename $0` ARCH=arch_of_dtx_2 DTx_2 >tmp_dtx_2.dts
|
||||
|
@@ -75,16 +75,12 @@ if arg_contain -S "$@"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# For scripts/gcc-plugin.sh
|
||||
# To set GCC_PLUGINS
|
||||
if arg_contain -print-file-name=plugin "$@"; then
|
||||
plugin_dir=$(mktemp -d)
|
||||
|
||||
sed -n 's/.*#include "\(.*\)"/\1/p' $(dirname $0)/../gcc-plugins/gcc-common.h |
|
||||
while read header
|
||||
do
|
||||
mkdir -p $plugin_dir/include/$(dirname $header)
|
||||
touch $plugin_dir/include/$header
|
||||
done
|
||||
mkdir -p $plugin_dir/include
|
||||
touch $plugin_dir/include/plugin-version.h
|
||||
|
||||
echo $plugin_dir
|
||||
exit 0
|
||||
|
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
srctree=$(dirname "$0")
|
||||
|
||||
gccplugins_dir=$($* -print-file-name=plugin)
|
||||
|
||||
# we need a c++ compiler that supports the designated initializer GNU extension
|
||||
$HOSTCC -c -x c++ -std=gnu++98 - -fsyntax-only -I $srctree/gcc-plugins -I $gccplugins_dir/include 2>/dev/null <<EOF
|
||||
#include "gcc-common.h"
|
||||
class test {
|
||||
public:
|
||||
int test;
|
||||
} test = {
|
||||
.test = 1
|
||||
};
|
||||
EOF
|
@@ -9,7 +9,7 @@ menuconfig GCC_PLUGINS
|
||||
bool "GCC plugins"
|
||||
depends on HAVE_GCC_PLUGINS
|
||||
depends on CC_IS_GCC
|
||||
depends on $(success,$(srctree)/scripts/gcc-plugin.sh $(CC))
|
||||
depends on $(success,test -e $(shell,$(CC) -print-file-name=plugin)/include/plugin-version.h)
|
||||
default y
|
||||
help
|
||||
GCC plugins are loadable modules that provide extra features to the
|
||||
|
@@ -22,9 +22,9 @@ always-y += $(GCC_PLUGIN)
|
||||
GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin)
|
||||
|
||||
plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \
|
||||
-I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++98 \
|
||||
-I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++11 \
|
||||
-fno-rtti -fno-exceptions -fasynchronous-unwind-tables \
|
||||
-ggdb -Wno-narrowing -Wno-unused-variable -Wno-c++11-compat \
|
||||
-ggdb -Wno-narrowing -Wno-unused-variable \
|
||||
-Wno-format-diag
|
||||
|
||||
plugin_ldflags = -shared
|
||||
|
@@ -252,7 +252,7 @@ if ($arch eq "x86_64") {
|
||||
|
||||
} elsif ($arch eq "s390" && $bits == 64) {
|
||||
if ($cc =~ /-DCC_USING_HOTPATCH/) {
|
||||
$mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*c0 04 00 00 00 00\\s*brcl\\s*0,[0-9a-f]+ <([^\+]*)>\$";
|
||||
$mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*c0 04 00 00 00 00\\s*(brcl\\s*0,|jgnop\\s*)[0-9a-f]+ <([^\+]*)>\$";
|
||||
$mcount_adjust = 0;
|
||||
} else {
|
||||
$mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_390_(PC|PLT)32DBL\\s+_mcount\\+0x2\$";
|
||||
|
@@ -76,6 +76,7 @@ my %texlive = (
|
||||
'ucs.sty' => 'texlive-ucs',
|
||||
'upquote.sty' => 'texlive-upquote',
|
||||
'wrapfig.sty' => 'texlive-wrapfig',
|
||||
'ctexhook.sty' => 'texlive-ctex',
|
||||
);
|
||||
|
||||
#
|
||||
@@ -370,6 +371,9 @@ sub give_debian_hints()
|
||||
);
|
||||
|
||||
if ($pdf) {
|
||||
check_missing_file(["/usr/share/texlive/texmf-dist/tex/latex/ctex/ctexhook.sty"],
|
||||
"texlive-lang-chinese", 2);
|
||||
|
||||
check_missing_file(["/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"],
|
||||
"fonts-dejavu", 2);
|
||||
|
||||
|
Reference in New Issue
Block a user