]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: doc: improve KBUILD_BUILD_TIMESTAMP documentation
authorGang Yan <yangang@kylinos.cn>
Fri, 17 Oct 2025 02:12:09 +0000 (10:12 +0800)
committerNicolas Schier <nsc@kernel.org>
Sat, 8 Nov 2025 11:17:58 +0000 (12:17 +0100)
commitbfb046f67ae1f20572d4dee73a173c6db706f5d4
tree6c46deb9f03935b5197ec5fbfe62c39ad4286d44
parentaf61da281f52aba0c5b090bafb3a31c5739850ff
kbuild: doc: improve KBUILD_BUILD_TIMESTAMP documentation

This patch adds an example of how to set KBUILD_BUILD_TIMESTAMP to a
specific date. Also, note that the provided timestamp is used for
initramfs mtime fields, which are 32-bit and thus limited to dates
between the Unix epoch and 2106-02-07 06:28:15 UTC. Dates outside this
range will cause errors.

Suggested-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Gang Yan <yangang@kylinos.cn>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20251017021209.6586-1-gang.yan@linux.dev
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Documentation/kbuild/kbuild.rst