From: acevest Date: Sat, 30 Oct 2021 15:41:05 +0000 (+0800) Subject: define BUILDER X-Git-Url: http://zhaoyanbai.com/repos/man.dnssec-revoke.html?a=commitdiff_plain;h=d4078b8d14be524111e21f3bd2082714cdc6a4a7;p=kernel.git define BUILDER --- diff --git a/Makefile b/Makefile index 75dbf4a..7648af5 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ ifeq ($(UNAME), Darwin) CC = i686-elf-gcc LD = i686-elf-ld endif -CFLAGS = -g -c -fno-builtin -m32 +CFLAGS = -g -c -fno-builtin -m32 -DBUILDER='"$(shell whoami)"' SYSTEMMAP = System.map KERNELBIN = KERNEL.BIN LINKSCRIPT = scripts/link.ld diff --git a/kernel/setup.c b/kernel/setup.c index ffae802..488d080 100644 --- a/kernel/setup.c +++ b/kernel/setup.c @@ -46,12 +46,11 @@ void setup_i8253() } #define VERSION "0.3.1" -#define BUIDER "Zhao Yanbai" const char *version = "Kernel version " VERSION " @ " - BUIDER + BUILDER " ["__DATE__ " " __TIME__ "]" "\n";