summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/kbuild')
-rw-r--r--kernel/Documentation/kbuild/makefiles.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/Documentation/kbuild/makefiles.txt b/kernel/Documentation/kbuild/makefiles.txt
index 74b6c6d97..d2b1c40cb 100644
--- a/kernel/Documentation/kbuild/makefiles.txt
+++ b/kernel/Documentation/kbuild/makefiles.txt
@@ -952,6 +952,14 @@ 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.
+
+
--- 6.2 Add prerequisites to archheaders:
The archheaders: rule is used to generate header files that