mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 13:33:10 +00:00
34 lines
730 B
Plaintext
34 lines
730 B
Plaintext
# Configuration for building a coreboot ROM that works in the.
|
|
# the qemu emulator. Note that the TPM does not work, so this
|
|
# will just drop into the recovery shell.
|
|
CONFIG_COREBOOT=y
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-qemu.config
|
|
CONFIG_LINUX_CONFIG=config/linux-qemu.config
|
|
|
|
CONFIG_CRYPTSETUP=y
|
|
CONFIG_FLASHROM=y
|
|
CONFIG_GPG=y
|
|
CONFIG_KEXEC=y
|
|
CONFIG_UTIL_LINUX=y
|
|
CONFIG_LVM2=y
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_PCIUTILS=y
|
|
CONFIG_POPT=y
|
|
CONFIG_QRENCODE=y
|
|
CONFIG_TPMTOTP=y
|
|
CONFIG_DROPBEAR=y
|
|
CONFIG_XEN=y
|
|
CONFIG_XEN_VERSION=4.6
|
|
|
|
CONFIG_LINUX_USB=y
|
|
CONFIG_LINUX_E1000=y
|
|
|
|
CONFIG_BOOTSCRIPT=/bin/generic-init
|
|
CONFIG_TPM=n
|
|
|
|
run: coreboot.intermediate
|
|
run: $(build)/$(BOARD)/coreboot.rom
|
|
qemu-system-x86_64 \
|
|
--machine q35 \
|
|
--bios $< \
|