From d4078b8d14be524111e21f3bd2082714cdc6a4a7 Mon Sep 17 00:00:00 2001 From: acevest Date: Sat, 30 Oct 2021 23:41:05 +0800 Subject: [PATCH] define BUILDER --- Makefile | 2 +- kernel/setup.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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"; -- 2.44.0