Coreboot

From NixOS Wiki
Revision as of 05:47, 21 February 2019 by imported>Ajs124 (disable format hardening, because is breaks the crossgcc build)

Building

To build your own coreboot bios:

$ git clone http://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