diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-21 02:09:41 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-09-04 10:01:17 +0900 |
commit | 8cc7af751443f7c82d12c7e5061fd2fa2e08a3d4 (patch) | |
tree | 7f2099db0c373a12bb954c3fe7f1585b3ac5067f /Documentation/kbuild | |
parent | 15f5db60a13748f44e5a14a2573c2cfcdc152f1c (diff) | |
download | linux-8cc7af751443f7c82d12c7e5061fd2fa2e08a3d4.tar.bz2 |
kbuild: remove ARCH_{CPP,A,C}FLAGS
These flags were added by commit 61754c18752f ("kbuild: Allow arch
Makefiles to override {cpp,ld,c}flags") to allow ARC to override -O2.
We did not see any other usage after all. Now that ARC switched to
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3, there is no more user of
these variables.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Documentation/kbuild')
-rw-r--r-- | Documentation/kbuild/makefiles.rst | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst index e9ffdffa3641..6ba9d5365ff3 100644 --- a/Documentation/kbuild/makefiles.rst +++ b/Documentation/kbuild/makefiles.rst @@ -959,13 +959,6 @@ When kbuild executes, the following steps are followed (roughly): $(KBUILD_ARFLAGS) set by the top level Makefile to "D" (deterministic mode) if this option is supported by $(AR). - ARCH_CPPFLAGS, ARCH_AFLAGS, ARCH_CFLAGS Overrides the kbuild defaults - - These variables are appended to the KBUILD_CPPFLAGS, - KBUILD_AFLAGS, and KBUILD_CFLAGS, respectively, after the - top-level Makefile has set any other flags. This provides a - means for an architecture to override the defaults. - KBUILD_LDS The linker script with full path. Assigned by the top-level Makefile. |