From 1f7e4b35cb2e95c7bbf1e3d39b10189b26f8d6ed Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 2 May 2025 10:56:14 +0100 Subject: mk: Download vendorfiles before building release Do it just after creating the src archive. This way, everything is downloaded all at once. Otherwise, a momentary lapse of internet uptime will cause a release build to fail later on, and one of lbmk's flaws is that this would then mean you must re-build from scratch. If we assume that the internet is working within a short period of time, then this change would mitigate that possibility. If something did happen during tar archive creation, that's a much shorter amount of time that is "wasted". Signed-off-by: Leah Rowe --- mk | 1 + 1 file changed, 1 insertion(+) (limited to 'mk') diff --git a/mk b/mk index 0ae35b6d..ec42d097 100755 --- a/mk +++ b/mk @@ -85,6 +85,7 @@ build_release() touch "$srcdir/lock" || $err "can't make lock file in $srcdir/" ( cd "$srcdir" || $err "$vdir: 2 !cd \"$srcdir\"" + x_ ./mk -d coreboot mk -b coreboot pico-serprog stm32-vserprog pcsx-redux x_ mv bin ../roms ) || $err "can't build rom images" -- cgit v1.2.1