scripts/kernel-doc.py: properly handle KBUILD_BUILD_TIMESTAMP
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Apr 2025 10:09:29 +0000 (18:09 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 9 Apr 2025 18:10:34 +0000 (12:10 -0600)
commit91d00bd54f300b614d48002d4ec8cc28b3f0b2a5
tree0776666e7b14b2f3ae9d9afe6b4aef0a180b26ff
parent2ab867a4941de2e9d7804e76ab002ad74c73b078
scripts/kernel-doc.py: properly handle KBUILD_BUILD_TIMESTAMP

The logic that handles KBUILD_BUILD_TIMESTAMP is wrong, and adds
a dependency of a third party module (dateutil).

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/ffc70a1b741b010365ed82f31611018f24f91ce7.1744106242.git.mchehab+huawei@kernel.org
scripts/lib/kdoc/kdoc_files.py
scripts/lib/kdoc/kdoc_output.py