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 committed 2026-05-04 21:16:04 -07:00
1 parent df0d7bb04a
commit e950d2a10a
1 file changed
+1
+1
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) || \