]> git.hungrycats.org Git - linux/commit
[PATCH] kbuild: Unmangle include options for gcc
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:32:08 +0000 (18:32 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:32:08 +0000 (18:32 -0800)
commit9f61b232e5a1fdd6340f9e27a66a986d13fed6ad
tree2251987d669c6eba65d45e0ae9eb443e459e33fe
parent4959674753873b6dc7bb2c045a4fb62590cdc7b5
[PATCH] kbuild: Unmangle include options for gcc

From: Sam Ravnborg <sam@ravnborg.org>

When utilising the make O=...  option the include options for gcc were
mangled even when absolute paths was used.  Also remove duplication of
CPPFLAGS.  They were assigned twice.  [It is still possible for
architectures to modify CPPFLAGS].

This patch allows xconfig to be build with make O=...  xconfig.It will also
help development of external modules with absolute paths for their -I
options.

Note: As a side effect a full recompile of the kernel takes place due to
changes in number of gcc options.
scripts/Makefile.lib