Building coreboot's toolchain is the longest part of the build process, and much of it involves running serialized steps (e.g. decompressing archives, running configure, etc). We should be able to kick this off while u-root and Linux are being built.
In case coreboot somehow gets built first, we can avoid the race condition by building coreboot with a stub as the LinuxBoot payload and then insert the final Linux+u-root binary using cbfstool in a separate step at the very end.
Building coreboot's toolchain is the longest part of the build process, and much of it involves running serialized steps (e.g. decompressing archives, running
configure
, etc). We should be able to kick this off while u-root and Linux are being built.In case coreboot somehow gets built first, we can avoid the race condition by building coreboot with a stub as the LinuxBoot payload and then insert the final Linux+u-root binary using
cbfstool
in a separate step at the very end.