Skip to content
Commit a0439342 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Michal Marek
Browse files

scripts/link-vmlinux.sh: force error on kallsyms failure



Since the output of the invocation of scripts/kallsyms is piped directly
into the assembler, error messages it emits are visible on stderr, but
a non-zero return code is ignored, and the build simply proceeds in that
case. However, the resulting kernel is most likely broken, and will crash
at boot.

So instead, capture the output of kallsyms in a separate .S file, and pass
that to the assembler in a separate step.

Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent b41c29b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment