mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 22:12:40 +02:00
handle/make/file: run make-clean first
flashrom distclean resulted in zero status upon exit, but did not remove the actual flashrom binary. our logic was to run distclean and defer to clean; now, we run clean and *then* run distclean, but we do not throw an error if distclean fails. (we do throw one if clean fails) Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -71,8 +71,9 @@ run_make_command()
|
|||||||
make -C "${project}" -j$(nproc) || \
|
make -C "${project}" -j$(nproc) || \
|
||||||
err "run_make_command: !make -C ${project}"
|
err "run_make_command: !make -C ${project}"
|
||||||
else
|
else
|
||||||
make -C "${project}" distclean || make -C "${project}" clean \
|
make -C "${project}" clean || \
|
||||||
|| err "run_make_command: ${project}: make-clean failed"
|
err "run_make_command: ${project}: make-clean failed"
|
||||||
|
make -C "${project}" distclean || :
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user