coreboot build environment

Install git:

sudo apt install git

Clone the source repository:

git clone https://review.coreboot.org/coreboot.git coreboot
cd coreboot/

Install build dependencies:

sudo apt install acpica-tools bison build-essential doxygen flex gnat libncurses5-dev libpci-dev m4 zlib1g-dev

Build the cross-compiler:

make crossgcc-i386