Makefile: Don't hardcode build timestamp

...use $(date) instead. I just spent almost one hour trying to find
out why I couldn't source an updated kernel build in muvm, while it
was actually there the whole time.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2024-11-15 17:52:05 +01:00
parent 2e089d0d81
commit 21bfd5d64b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ KERNEL_C_BUNDLE = kernel.c
ABI_VERSION = 4 ABI_VERSION = 4
FULL_VERSION = 4.5.1 FULL_VERSION = 4.5.1
TIMESTAMP = "Thu Nov 7 05:07:35 PM CET 2024" TIMESTAMP = "$(shell date)"
KERNEL_FLAGS = KBUILD_BUILD_TIMESTAMP=$(TIMESTAMP) KERNEL_FLAGS = KBUILD_BUILD_TIMESTAMP=$(TIMESTAMP)
KERNEL_FLAGS += KBUILD_BUILD_USER=root KERNEL_FLAGS += KBUILD_BUILD_USER=root