mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
build/release/src: only clean kbc1126 if it exists
the way this script works, it only copies what was built, but it currently operatios as though coreboot/default always exists, and then cleans the kbc1126 util this patch fixes such buggy behaviour Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -152,7 +152,8 @@ purge_files()
|
|||||||
cd "${srcdir}/" || \
|
cd "${srcdir}/" || \
|
||||||
err "purge_files 3: !cd ${srcdir}/"
|
err "purge_files 3: !cd ${srcdir}/"
|
||||||
|
|
||||||
./handle make file -c coreboot/default/util/kbc1126 || \
|
[ ! -d "coreboot/default/util/kbc1126" ] || \
|
||||||
|
./handle make file -c "coreboot/default/util/kbc1126" || \
|
||||||
err "purge_files 1: default/util/kbc1126: ! make clean"
|
err "purge_files 1: default/util/kbc1126: ! make clean"
|
||||||
./handle make config -x coreboot || \
|
./handle make config -x coreboot || \
|
||||||
err "purge_files: coreboot: cannot clean crossgcc files"
|
err "purge_files: coreboot: cannot clean crossgcc files"
|
||||||
|
|||||||
Reference in New Issue
Block a user