Coreboot: Difference between revisions

From NixOS Wiki
imported>Makefu
m fix syntax highlight
imported>Makefu
fix syntax highlight (again)
Line 3: Line 3:


<syntaxHighlight lang=console>
<syntaxHighlight lang=console>
git clone http://review.coreboot.org/coreboot.git; cd coreboot
$ git clone http://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
make crossgcc
$ make crossgcc
$ make
</syntaxHighlight>
</syntaxHighlight>

Revision as of 23:39, 29 December 2017

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