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

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-05-25 00:18:40 +01:00 committed by Leah Rowe
parent aa15eef32f
commit c8c516703f
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,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