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>btrfsvols
parent
7c6b35cf95
commit
92b4db6992
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue