Coreboot: Difference between revisions

From NixOS Wiki
imported>Makefu
fix syntax highlight (again)
imported>Ajs124
m disable format hardening, because is breaks the crossgcc build
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
$ make crossgcc
$ NIX_HARDENING_ENABLE="${NIX_HARDENING_ENABLE/ format/}" make crossgcc
$ make
$ make
</syntaxHighlight>
</syntaxHighlight>

Revision as of 05:47, 21 February 2019

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