Coreboot: Difference between revisions

From NixOS Wiki
imported>Lassulus
m use secure git destination
imported>Flokli
remove hardening edit / https://github.com/NixOS/nixpkgs/pull/107435
Line 6: Line 6:
$ nix-shell -p ncurses.dev bison flex clang zlib
$ nix-shell -p ncurses.dev bison flex clang zlib
$ NIX_LDFLAGS="$NIX_LDFLAGS -lncurses" make menuconfig
$ NIX_LDFLAGS="$NIX_LDFLAGS -lncurses" make menuconfig
$ NIX_HARDENING_ENABLE="${NIX_HARDENING_ENABLE/ format/}" make crossgcc
$ make crossgcc
$ make
$ make
</syntaxHighlight>
</syntaxHighlight>

Revision as of 01:26, 24 December 2020

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
$ make crossgcc
$ make