trees: write -C on the make command first not last

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-25 00:18:40 +01:00
parent b91ee72762
commit ff0840bdf8
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ run_make_command()
[ "$project" = "coreboot" ] && [ -z "$mode" ] && x_ \
printf "%s\n" "${version%%-*}" > "$codedir/.coreboot-version"
make $mode -j$threads $makeargs -C "$codedir" || \
make -C "$codedir" $mode -j$threads $makeargs || \
$err "run_make $codedir: !make $mode"
[ "$mode" != "clean" ] && return 0