summaryrefslogtreecommitdiff
path: root/script/build/fw
diff options
context:
space:
mode:
Diffstat (limited to 'script/build/fw')
-rwxr-xr-xscript/build/fw/coreboot10
-rwxr-xr-xscript/build/fw/grub2
-rwxr-xr-xscript/build/fw/serprog4
3 files changed, 8 insertions, 8 deletions
diff --git a/script/build/fw/coreboot b/script/build/fw/coreboot
index 7c89bb35..7479caae 100755
--- a/script/build/fw/coreboot
+++ b/script/build/fw/coreboot
@@ -125,13 +125,13 @@ prepare_target()
cbfstool="cbutils/${tree}/cbfstool"
cbrom="${cbdir}/build/coreboot.rom"
- x_ ./update project build -b coreboot utils ${tree}
+ x_ ./update project trees -b coreboot utils ${tree}
build_dependency_seabios
memtest_bin="memtest86plus/build${arch#*_}/memtest.bin"
[ "${payload_memtest}" != "y" ] || [ -f "src/${memtest_bin}" ] || \
- x_ ./update project build -b memtest86plus
+ x_ ./update project trees -b memtest86plus
x_ rm -f "${romdir}/"*
@@ -148,7 +148,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_ ./update project build -b seabios
+ x_ ./update project trees -b seabios
fi
}
@@ -176,7 +176,7 @@ build_dependency_uboot()
{
[ "${payload_uboot}" = "y" ] || return 0
- x_ ./update project build -b u-boot ${board}
+ x_ ./update project trees -b u-boot ${board}
ubdir="elf/u-boot/${board}/${uboot_config}"
ubootelf="${ubdir}/u-boot.elf"
[ ! -f "${ubootelf}" ] && [ -f "${ubdir}/u-boot.bin" ] && \
@@ -213,7 +213,7 @@ build_roms()
"${cbcfg}" "${board}" "${displaymode}" "${initmode}" \
1>&2 && return 0
- x_ ./update project build -b coreboot ${board}
+ x_ ./update project trees -b coreboot ${board}
_cbrom="elf/coreboot/${board}/${initmode}_${displaymode}"
[ "${initmode}" = "normal" ] && \
diff --git a/script/build/fw/grub b/script/build/fw/grub
index 1ae7ba9c..66286732 100755
--- a/script/build/fw/grub
+++ b/script/build/fw/grub
@@ -23,7 +23,7 @@ main()
handle_dependencies()
{
- [ -d "src/grub" ] || x_ ./update project repo grub
+ [ -d "src/grub" ] || x_ ./update project trees -f grub
[ -f "src/grub/grub-mkstandalone" ] || build_grub_utils
x_ mkdir -p "${elfdir}"
x_ rm -f "${elfdir}/"*
diff --git a/script/build/fw/serprog b/script/build/fw/serprog
index bb6952e2..0525962d 100755
--- a/script/build/fw/serprog
+++ b/script/build/fw/serprog
@@ -23,12 +23,12 @@ main()
platform="rp2040"
boards_dir=${pico_sdk_dir}/src/boards/include/boards
[ -d "${pico_src_dir}/" ] || \
- x_ ./update project repo "rpi-pico-serprog"
+ x_ ./update project trees -f "rpi-pico-serprog"
elif [ "${1}" = "stm32" ]; then
platform="stm32"
boards_dir=${stm32_src_dir}/boards
[ -d "${stm32_src_dir}/" ] || \
- x_ ./update project repo "stm32-vserprog"
+ x_ ./update project trees -f "stm32-vserprog"
else
err "${usage}"
fi