提交 0131a56e 编写于 作者: P Phil Elwell 提交者: Zheng Zengkai

kbuild: Disable gcc plugins

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

The GCC plugin feature leads to different kernel configurations on what
ought to be equivalent build systems because they depend on the build
hosts native compilers rather than the cross compilers needed for the
target. This causes problems with module symbol version mismatches.

Disable GCC plugins for all build hosts.

Advanced build script hackery borrowed from a patch by milhouse.
Signed-off-by: NPhil Elwell <phil@raspberrypi.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 ac518ec1
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
exit 1 # Disable plugins
set -e
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册