Coreboot: Difference between revisions
imported>Ajs124 m disable format hardening, because is breaks the crossgcc build |
imported>Lassulus m use secure git destination |
||
Line 3: | Line 3: | ||
<syntaxHighlight lang=console> | <syntaxHighlight lang=console> | ||
$ git clone | $ git clone https://review.coreboot.org/coreboot.git; cd coreboot | ||
$ 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 |
Revision as of 21:41, 3 March 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
$ NIX_HARDENING_ENABLE="${NIX_HARDENING_ENABLE/ format/}" make crossgcc
$ make