build/src/for: rename to handle/make/file

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-08-27 11:42:20 +01:00
parent 27c67295c7
commit 29a8193eb2
6 changed files with 9 additions and 9 deletions

View File

@ -165,7 +165,7 @@ fi
memtest_bin="memtest86plus/build${arch#*_}/memtest.bin" memtest_bin="memtest86plus/build${arch#*_}/memtest.bin"
[ "${payload_memtest}" != "y" ] || [ -f "${memtest_bin}" ] || \ [ "${payload_memtest}" != "y" ] || [ -f "${memtest_bin}" ] || \
./build src for -b ${memtest_bin%/*} || \ ./handle make file -b ${memtest_bin%/*} || \
err "cannot build memtest86+" err "cannot build memtest86+"
[ -d "${romdir}/" ] || mkdir -p "${romdir}/" || \ [ -d "${romdir}/" ] || mkdir -p "${romdir}/" || \

View File

@ -25,7 +25,7 @@ ich9gen="util/ich9utils/ich9gen"
main() main()
{ {
[ -f "${ich9gen}" ] || ./build src for -b ich9utils || \ [ -f "${ich9gen}" ] || ./handle make file -b ich9utils || \
err "ich9utils make" err "ich9utils make"
[ ! -f "${ich9gen}" ] && err "ich9gen doesn't exist" [ ! -f "${ich9gen}" ] && err "ich9gen doesn't exist"

View File

@ -139,21 +139,21 @@ purge_files()
for p in coreboot/*; do for p in coreboot/*; do
[ -d "${p}" ] || continue [ -d "${p}" ] || continue
./build src for -c "${p}" || \ ./handle make file -c "${p}" || \
err "purge_files 1: ${p}: !make distclean" err "purge_files 1: ${p}: !make distclean"
done done
./build src for -c 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"
./build clean all || \ ./build clean all || \
err "purge_files 1: ! ./build clean all" err "purge_files 1: ! ./build clean all"
for p in bios_extract flashrom grub ich9utils uefitool; do for p in bios_extract flashrom grub ich9utils uefitool; do
./build src for -c "${p}" || \ ./handle make file -c "${p}" || \
err "purge_files: !./build src for -c ${p}" err "purge_files: !./handle make file -c ${p}"
done done
for p in 32 64; do for p in 32 64; do
./build src for -c "memtest86plus/build${p}" || \ ./handle make file -c "memtest86plus/build${p}" || \
err "purge_files: cannot clean memtest86+ build${p}" err "purge_files: cannot clean memtest86+ build${p}"
done done
for p in "nvmutil" "ich9utils" "spkmodem_recv" "e6400-flash-unlock"; do for p in "nvmutil" "ich9utils" "spkmodem_recv" "e6400-flash-unlock"; do

View File

@ -223,7 +223,7 @@ check_config()
run_make_command() run_make_command()
{ {
./build src for -c "${codedir}" ./handle make file -c "${codedir}"
fail "run_make_command: make distclean/clean failed" fail "run_make_command: make distclean/clean failed"
cp "${config}" "${codedir}/.config" || \ cp "${config}" "${codedir}/.config" || \

View File

@ -165,7 +165,7 @@ build_dependencies()
err "build_dependencies: can't fetch ${d}" err "build_dependencies: can't fetch ${d}"
done done
[ -f uefitool/uefiextract ] || \ [ -f uefitool/uefiextract ] || \
./build src for -b uefitool || \ ./handle make file -b uefitool || \
err "build_dependencies: can't build uefitool" err "build_dependencies: can't build uefitool"
if [ ! -f "${cbdir}/util/kbc1126/kbc1126_ec_dump" ]; then if [ ! -f "${cbdir}/util/kbc1126/kbc1126_ec_dump" ]; then
make -BC "${cbdir}/util/kbc1126" || \ make -BC "${cbdir}/util/kbc1126" || \