]> err.no Git - linux-2.6/commit
kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP
authorSam Ravnborg <sam@neptun.(none)>
Mon, 15 Oct 2007 20:17:25 +0000 (22:17 +0200)
committerSam Ravnborg <sam@neptun.(none)>
Mon, 15 Oct 2007 20:17:25 +0000 (22:17 +0200)
commit06c5040cdb13d27adad118f2fbfae905a1911b37
treee5e62e04ca2d6f834aed9925a13869f730656139
parent52bcc3308ae3344266f55bf98a22c1ac0201eda7
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>
Documentation/kbuild/makefiles.txt
Makefile
arch/arm/Makefile
arch/ia64/Makefile
arch/powerpc/Makefile
arch/ppc/Makefile
arch/um/Makefile-x86_64
drivers/atm/Makefile
scripts/Makefile.lib