diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2007-01-10 08:45:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-10 12:33:59 -0500 |
commit | 3eb3c740f51c2126b53c2dde974c1c57e634aa7b (patch) | |
tree | bbc9a1152685d8ed97f231e4ff161d01d58f0fe2 /Makefile | |
parent | 8edf51a5ee38eb40de5449e131fd36450a229430 (diff) |
[PATCH] fix linux banner format string
Revert previous attempts at messing with the linux banner string and
simply use a separate format string for proc.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Acked-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: Andrew Morton <akpm@osdl.org>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 31 |
1 files changed, 9 insertions, 22 deletions
@@ -368,14 +368,10 @@ endif | |||
368 | # Detect when mixed targets is specified, and make a second invocation | 368 | # Detect when mixed targets is specified, and make a second invocation |
369 | # of make so .config is not included in this case either (for *config). | 369 | # of make so .config is not included in this case either (for *config). |
370 | 370 | ||
371 | PHONY += generated_headers | 371 | no-dot-config-targets := clean mrproper distclean \ |
372 | |||
373 | generated_headers: include/linux/version.h include/linux/compile.h \ | ||
374 | include/linux/utsrelease.h | ||
375 | |||
376 | no-dot-config-targets := generated_headers clean mrproper distclean \ | ||
377 | cscope TAGS tags help %docs check% \ | 372 | cscope TAGS tags help %docs check% \ |
378 | headers_% kernelrelease kernelversion | 373 | include/linux/version.h headers_% \ |
374 | kernelrelease kernelversion | ||
379 | 375 | ||
380 | config-targets := 0 | 376 | config-targets := 0 |
381 | mixed-targets := 0 | 377 | mixed-targets := 0 |
@@ -738,16 +734,6 @@ debug_kallsyms: .tmp_map$(last_kallsyms) | |||
738 | 734 | ||
739 | endif # ifdef CONFIG_KALLSYMS | 735 | endif # ifdef CONFIG_KALLSYMS |
740 | 736 | ||
741 | # compile.h changes depending on hostname, generation number, etc, | ||
742 | # so we regenerate it always. | ||
743 | # mkcompile_h will make sure to only update the | ||
744 | # actual file if its content has changed. | ||
745 | |||
746 | include/linux/compile.h: FORCE | ||
747 | @echo ' CHK $@' | ||
748 | $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \ | ||
749 | "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" "$(CC) $(CFLAGS)" | ||
750 | |||
751 | # vmlinux image - including updated kernel symbols | 737 | # vmlinux image - including updated kernel symbols |
752 | vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) FORCE | 738 | vmlinux: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) $(kallsyms.o) FORCE |
753 | ifdef CONFIG_HEADERS_CHECK | 739 | ifdef CONFIG_HEADERS_CHECK |
@@ -866,8 +852,8 @@ endif | |||
866 | # prepare2 creates a makefile if using a separate output directory | 852 | # prepare2 creates a makefile if using a separate output directory |
867 | prepare2: prepare3 outputmakefile | 853 | prepare2: prepare3 outputmakefile |
868 | 854 | ||
869 | prepare1: prepare2 generated_headers include/asm include/config/auto.conf | 855 | prepare1: prepare2 include/linux/version.h include/linux/utsrelease.h \ |
870 | 856 | include/asm include/config/auto.conf | |
871 | ifneq ($(KBUILD_MODULES),) | 857 | ifneq ($(KBUILD_MODULES),) |
872 | $(Q)mkdir -p $(MODVERDIR) | 858 | $(Q)mkdir -p $(MODVERDIR) |
873 | $(Q)rm -f $(MODVERDIR)/* | 859 | $(Q)rm -f $(MODVERDIR)/* |
@@ -936,14 +922,14 @@ export INSTALL_HDR_PATH | |||
936 | HDRARCHES=$(filter-out generic,$(patsubst $(srctree)/include/asm-%/Kbuild,%,$(wildcard $(srctree)/include/asm-*/Kbuild))) | 922 | HDRARCHES=$(filter-out generic,$(patsubst $(srctree)/include/asm-%/Kbuild,%,$(wildcard $(srctree)/include/asm-*/Kbuild))) |
937 | 923 | ||
938 | PHONY += headers_install_all | 924 | PHONY += headers_install_all |
939 | headers_install_all: generated_headers scripts_basic FORCE | 925 | headers_install_all: include/linux/version.h scripts_basic FORCE |
940 | $(Q)$(MAKE) $(build)=scripts scripts/unifdef | 926 | $(Q)$(MAKE) $(build)=scripts scripts/unifdef |
941 | $(Q)for arch in $(HDRARCHES); do \ | 927 | $(Q)for arch in $(HDRARCHES); do \ |
942 | $(MAKE) ARCH=$$arch -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch ;\ | 928 | $(MAKE) ARCH=$$arch -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch ;\ |
943 | done | 929 | done |
944 | 930 | ||
945 | PHONY += headers_install | 931 | PHONY += headers_install |
946 | headers_install: generated_headers scripts_basic FORCE | 932 | headers_install: include/linux/version.h scripts_basic FORCE |
947 | @if [ ! -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \ | 933 | @if [ ! -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \ |
948 | echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \ | 934 | echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \ |
949 | exit 1 ; fi | 935 | exit 1 ; fi |
@@ -1040,7 +1026,8 @@ CLEAN_FILES += vmlinux System.map \ | |||
1040 | # Directories & files removed with 'make mrproper' | 1026 | # Directories & files removed with 'make mrproper' |
1041 | MRPROPER_DIRS += include/config include2 usr/include | 1027 | MRPROPER_DIRS += include/config include2 usr/include |
1042 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ | 1028 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ |
1043 | include/linux/autoconf.h include/linux/utsrelease.h include/linux/version.h \ | 1029 | include/linux/autoconf.h include/linux/version.h \ |
1030 | include/linux/utsrelease.h \ | ||
1044 | Module.symvers tags TAGS cscope* | 1031 | Module.symvers tags TAGS cscope* |
1045 | 1032 | ||
1046 | # clean - Delete most, but leave enough to build external modules | 1033 | # clean - Delete most, but leave enough to build external modules |