]> Gentwo Git Trees - linux/.git/commit
objtool/klp: Only enable --checksum when needed
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 12 Nov 2025 23:32:34 +0000 (15:32 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 18 Nov 2025 08:59:26 +0000 (09:59 +0100)
commit2092007aa32f8dd968c38751bd1b7cac9b1f738d
treea05241bc6c8656d5b99c76d488dc95aee143cc00
parentee0b48fabadf9b073b24f761ac09da7293eee7b7
objtool/klp: Only enable --checksum when needed

With CONFIG_KLP_BUILD enabled, checksums are only needed during a
klp-build run.  There's no need to enable them for normal kernel builds.

This also has the benefit of softening the xxhash dependency.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Link: https://patch.msgid.link/edbb1ca215e4926e02edb493b68b9d6d063e902f.1762990139.git.jpoimboe@kernel.org
arch/x86/boot/startup/Makefile
scripts/Makefile.lib
scripts/livepatch/klp-build