rename build/project/trees to update/project/build

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-10-06 01:59:13 +01:00
parent 1c2de7f962
commit 2d16e1ee47
4 changed files with 10 additions and 10 deletions

View File

@ -128,7 +128,7 @@ prepare_target()
memtest_bin="memtest86plus/build${arch#*_}/memtest.bin"
[ "${payload_memtest}" != "y" ] || [ -f "${memtest_bin}" ] || \
x_ ./build project trees -b ${memtest_bin%/*}
x_ ./update project build -b ${memtest_bin%/*}
x_ rm -f "${romdir}/"*
@ -145,7 +145,7 @@ build_dependency_seabios()
|| [ ! -f elf/seabios/default/libgfxinit/bios.bin.elf ] \
|| [ ! -f elf/seabios/default/vgarom/bios.bin.elf ] \
|| [ ! -f elf/seabios/default/normal/bios.bin.elf ]; then
x_ ./build project trees -b seabios
x_ ./update project build -b seabios
fi
}
@ -173,7 +173,7 @@ build_dependency_uboot()
{
[ "${payload_uboot}" = "y" ] || return 0
x_ ./build project trees -b u-boot ${board}
x_ ./update project build -b u-boot ${board}
ubdir="elf/u-boot/${board}/${uboot_config}"
ubootelf="${ubdir}/u-boot.elf"
[ ! -f "${ubootelf}" ] && [ -f "${ubdir}/u-boot.bin" ] && \
@ -210,7 +210,7 @@ build_roms()
"${cbcfg}" "${board}" "${displaymode}" "${initmode}" \
1>&2 && return 0
x_ ./build project trees -b coreboot ${board}
x_ ./update project build -b coreboot ${board}
_cbrom="elf/coreboot/${board}/${initmode}_${displaymode}"
[ "${initmode}" = "normal" ] && \

View File

@ -101,12 +101,12 @@ purge_files()
(
x_ cd "${srcdir}/"
[ ! -d "coreboot/default/util/kbc1126" ] || \
x_ ./build project trees -c "coreboot/default/util/kbc1126"
x_ ./build project trees -x coreboot
x_ ./update project build -c "coreboot/default/util/kbc1126"
x_ ./update project build -x coreboot
for p in u-boot seabios coreboot; do
x_ ./build project trees -c "${p}"
x_ ./update project build -c "${p}"
done
x_ ./build project trees -c bios_extract flashrom grub uefitool \
x_ ./update project build -c bios_extract flashrom grub uefitool \
util-fw/stm32-vserprog util-fw/stm32-vserprog/libopencm3 \
memtest86plus/build32 memtest86plus/build64 util/*

View File

@ -47,7 +47,7 @@ build_dependencies()
x_ ./update project repo "${d}"
done
[ -f uefitool/uefiextract ] || \
x_ ./build project trees -b uefitool
x_ ./update project build -b uefitool
[ -f "${cbdir}/util/kbc1126/kbc1126_ec_dump" ] || \
x_ make -C "${cbdir}/util/kbc1126"
x_ ./build coreboot utils default

View File

@ -47,7 +47,7 @@ main()
build_projects()
{
[ $# -gt 0 ] && x_ ./build project trees ${_f} ${@}
[ $# -gt 0 ] && x_ ./update project build ${_f} ${@}
codedir="${project}"
[ -d "${codedir}" ] || x_ ./update project repo "${codedir%/*}"