mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +02:00
unify build/clean scripts: use handle/make instead
The -c option is added for distclean, and -x for crossgcc-clean, in handle/make/config about 100 sloc removed from lbmk Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -152,16 +152,14 @@ purge_files()
|
||||
cd "${srcdir}/" || \
|
||||
err "purge_files 3: !cd ${srcdir}/"
|
||||
|
||||
for p in coreboot/*; do
|
||||
[ -d "${p}" ] || continue
|
||||
./handle make file -c "${p}" || \
|
||||
err "purge_files 1: ${p}: !make distclean"
|
||||
done
|
||||
|
||||
./handle make file -c coreboot/default/util/kbc1126 || \
|
||||
err "purge_files 1: default/util/kbc1126: ! make clean"
|
||||
./build clean all || \
|
||||
err "purge_files 1: ! ./build clean all"
|
||||
./handle make config -x coreboot || \
|
||||
err "purge_files: coreboot: cannot clean crossgcc files"
|
||||
for p in u-boot seabios coreboot; do
|
||||
./handle make config -c "${p}" || \
|
||||
err "purge_files: ${p}: cannot clean the source trees"
|
||||
done
|
||||
|
||||
for p in bios_extract flashrom grub ich9utils uefitool; do
|
||||
./handle make file -c "${p}" || \
|
||||
|
||||
Reference in New Issue
Block a user