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:
parent
2e089d0d81
commit
21bfd5d64b
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue