diff options
author | Sam Ravnborg <sam@neptun.(none)> | 2007-10-15 16:17:25 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.(none)> | 2007-10-15 16:17:25 -0400 |
commit | 06c5040cdb13d27adad118f2fbfae905a1911b37 (patch) | |
tree | e5e62e04ca2d6f834aed9925a13869f730656139 /Documentation/kbuild | |
parent | 52bcc3308ae3344266f55bf98a22c1ac0201eda7 (diff) |
kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP
The variable CPPFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
This patch replace use of CPPFLAGS with KBUILD_CPPFLAGS all over the
tree and enabling one to use:
make CPPFLAGS=...
to specify additional CPP commandline options.
Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Documentation/kbuild')
-rw-r--r-- | Documentation/kbuild/makefiles.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index f4779cd1542f..08fbe6cd309d 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt | |||
@@ -1099,7 +1099,7 @@ When kbuild executes, the following steps are followed (roughly): | |||
1099 | specified options when building the target vmlinux.lds. | 1099 | specified options when building the target vmlinux.lds. |
1100 | 1100 | ||
1101 | When building the *.lds target, kbuild uses the variables: | 1101 | When building the *.lds target, kbuild uses the variables: |
1102 | CPPFLAGS : Set in top-level Makefile | 1102 | KBUILD_CPPFLAGS : Set in top-level Makefile |
1103 | EXTRA_CPPFLAGS : May be set in the kbuild makefile | 1103 | EXTRA_CPPFLAGS : May be set in the kbuild makefile |
1104 | CPPFLAGS_$(@F) : Target specific flags. | 1104 | CPPFLAGS_$(@F) : Target specific flags. |
1105 | Note that the full filename is used in this | 1105 | Note that the full filename is used in this |