# SPDX-License-Identifier: GPL-3.0-or-later # can be overridden per-tree e.g. use mrchromebox url="https://github.com/coreboot/coreboot.git" bkup_url="https://review.coreboot.org/coreboot" makeargs="UPDATED_SUBMODULES=1 CPUS=$XBMK_THREADS" rev="8ce4c91c41da3f042979f92095149a85bc93227d" # edk2 in lbmk is actually coreboot, but with a fake board config # that turns on edk2. coreboot is patched to never delete tianocore # source code. # however, it is also patched not to download tianocore. we download # it, using libreboot's submodules feature! for redundancy, and patching # this is a lazy way to do edk2 without integrating it into lbmk, which # would bloat lbmk. coreboot already does all the magic, and matt maintains # it. why reinvent matt's perfect wheel? # it costs about half a minute extra, to build one coreboot target, # and then the build is used in bulk across boards. this is the leah # way to do tianocore in your coreboot distribution. # yes. xarch="i386-elf" # hack. for building the fake coreboot target # not a performance hurdle on releases, since we will also use # that coreboot target, and thus we will use crossgcc there tree="default" # we will build crossgcc in here, # with ours symlinking to it fetch_depend="coreboot/default" # not stable yet for lbmk releases. # tianocore payloads will be disabled # in coreboot targets that use them, # and coreboot targets that only use # edk2 will have release=n as well release="n"