]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] build compile.h earlier
authorAndrew Morton <akpm@osdl.org>
Fri, 22 Dec 2006 09:12:01 +0000 (01:12 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:51 +0000 (08:55 -0800)
commite461b8bbdf62ee9133ea3db07ce9f91b390bde84
tree54492763733c957405d938a74fb0ac99da927f9b
parenta1a3b75ceb9919c7586ccf72ceabd6937e5a7dce
[PATCH] build compile.h earlier

compile.h is created super-late in the build.  But proc_misc.c want to include
it, and it's generally not sane to have a header file in include/linux be
created at the end of the build: it's either not present or, worse, wrong for
most of the build.

So the patch arranges for compile.h to be built at the start of the build
process.  It also consolidates the compile.h rules with those for version.h
and utsname.h, so they all get built together.

I hope.  My chances of having got this right are about 2%.

Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Makefile
init/Makefile