Include "+SMP" in version string when built with SMP support

This commit is contained in:
Mark
2020-01-27 11:45:34 +02:00
parent 78e07114b5
commit 4e99ad39ca
+5 -1
View File
@@ -1,6 +1,10 @@
HEADERS=$(shell find ./include -name "*.h")
KERNEL_VERSION_GIT=$(shell git describe --always --tags)
KERNEL_VERSION_STR=$(KERNEL_VERSION_GIT)
ifeq ($(AMD64_SMP),1)
KERNEL_VERSION_STR+= +SMP
endif
CFLAGS+=-Wall \
-Wextra \
@@ -22,7 +26,7 @@ CFLAGS+=-DALL_SETUID_0
endif
CFLAGS+=-D__KERNEL__ \
-DKERNEL_VERSION_STR=\"$(KERNEL_VERSION_GIT)\"
-DKERNEL_VERSION_STR='"$(KERNEL_VERSION_STR)"'
# DIRS+=$(O)/sys \
# $(O)/sys/vfs \