|author||Andrew Morton <firstname.lastname@example.org>||2006-12-22 01:12:01 -0800|
|committer||Linus Torvalds <email@example.com>||2006-12-22 08:55:51 -0800|
[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 <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Diffstat (limited to 'init/Makefile')
1 files changed, 0 insertions, 9 deletions
diff --git a/init/Makefile b/init/Makefile
index d6c764d0eab..9cd871ce578 100644
@@ -18,12 +18,3 @@ clean-files := ../include/linux/compile.h
-# compile.h changes depending on hostname, generation number, etc,
-# so we regenerate it always.
-# mkcompile_h will make sure to only update the
-# actual file if its content has changed.
- @echo ' CHK $@'
- $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
- "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" "$(CC) $(CFLAGS)"