klp-build: Print "objtool klp diff" command in verbose mode

Print the full objtool command line when '--verbose' is given to help
with debugging.

Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
This commit is contained in:
Josh Poimboeuf
2026-04-03 16:17:46 -07:00
parent df0d7bb04a
commit e950d2a10a

View File

@@ -681,6 +681,7 @@ diff_objects() {
(
cd "$ORIG_DIR"
[[ -v VERBOSE ]] && echo "cd $ORIG_DIR && ${cmd[*]}"
"${cmd[@]}" \
1> >(tee -a "$log") \
2> >(tee -a "$log" | "${filter[@]}" >&2) || \