Coreboot

From NixOS Wiki
Revision as of 21:41, 3 March 2020 by imported>Lassulus (use secure git destination)

Building

To build your own coreboot bios:

$ git clone https://review.coreboot.org/coreboot.git; cd coreboot
$ nix-shell -p ncurses.dev bison flex clang zlib
$ NIX_LDFLAGS="$NIX_LDFLAGS -lncurses" make menuconfig
$ NIX_HARDENING_ENABLE="${NIX_HARDENING_ENABLE/ format/}" make crossgcc
$ make