Lines Matching +full:right +full:- +full:most
2 # SPDX-License-Identifier: GPL-2.0-only
13 # super-set of CONFIG options that cover any build environment. If some of the
17 # However, it is not feasible to get a full-featured compiler for every arch.
24 # $ make CROSS_COMPILE=scripts/dummy-tools/ oldconfig
26 # Most of compiler features are tested by cc-option, which simply checks the
27 # exit code of $(CC). This script does nothing and just exits with 0 in most
28 # cases. So, $(cc-option, ...) is evaluated as 'y'.
30 # This scripts caters to more checks; handle --version and pre-process __GNUC__
31 # etc. to pretend to be GCC, and also do right things to satisfy some scripts.
36 # arg_contain <word-you-are-searching-for> "$@"
42 while [ $# -gt 0 ]
54 if arg_contain --version "$@"; then
55 echo "gcc (scripts/dummy-tools/gcc)"
59 if arg_contain -E "$@"; then
60 # For scripts/gcc-version.sh; This emulates GCC 20.0.0
61 if arg_contain - "$@"; then
70 if arg_contain -S "$@"; then
71 # For scripts/gcc-x86-*-has-stack-protector.sh
72 if arg_contain -fstack-protector "$@"; then
78 # For scripts/gcc-plugin.sh
79 if arg_contain -print-file-name=plugin "$@"; then
80 plugin_dir=$(mktemp -d)
82 sed -n 's/.*#include "\(.*\)"/\1/p' $(dirname $0)/../gcc-plugins/gcc-common.h |
85 mkdir -p $plugin_dir/include/$(dirname $header)