summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-06-06 00:09:52 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-06-06 00:09:52 -0500
commit561e79b059e0a06dea7bc216641626fdfad099fb (patch)
treed79902a82fb7b31eb512ce75eefe76668d4c4eef /init
parent053cf0e6f510251a6fd6ffaf58c1f0b1d32ce08a (diff)
kbuild: Enforce UTS limit, use LANG=C for date/time
Patch by Keith Owens, ported to 2.5. If the length of $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) exceeds 64 characters it silently corrupts the utsname data, resulting in garbage for uname -r and problems running the kernel and modules. Abort if KERNELRELEASE is too long. Truncation is not good enough, it results in ambiguous /lib/modules/`uname -r` contents. Ensure that the date/time in uname are always in LANG=C. Users with other languages report that 8 bit values cause the boot messages to go haywire.
Diffstat (limited to 'init')
-rw-r--r--init/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/Makefile b/init/Makefile
index 455416572bac..c68a879dde8f 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -22,4 +22,5 @@ $(TOPDIR)/include/linux/compile.h: ../include/linux/compile.h ;
# actual file if its content has changed.
../include/linux/compile.h: FORCE
+ @echo -n 'Generating $@'
@../scripts/mkcompile_h $@ "$(ARCH)" "$(CONFIG_SMP)" "$(CC) $(CFLAGS)"