make coreboot an optional dependency (issue #265)

This commit is contained in:
Trammell hudson 2017-09-22 16:17:05 -04:00
parent ae8aa669dc
commit 12cea9a8e9
Failed to extract signature
8 changed files with 10 additions and 1 deletions

View File

@ -299,7 +299,10 @@ $(initrd_bin_dir)/busybox: $(build)/$(busybox_dir)/busybox
# this must be built *AFTER* musl, but since coreboot depends on other things
# that depend on musl it should be ok.
#
ifeq ($(CONFIG_COREBOOT),y)
$(eval $(call initrd_bin_add,$(build)/$(coreboot_dir)/util/cbmem/cbmem))
endif
$(build)/$(coreboot_dir)/util/cbmem/cbmem: \
$(build)/$(coreboot_dir)/.canary \
musl.intermediate

View File

@ -1,6 +1,7 @@
# Configuration for a purism13v1
BOARD=purism13v1
CONFIG_COREBOOT=y
CONFIG_CRYPTSETUP=y
CONFIG_FLASHROM=y
CONFIG_GPG=y

View File

@ -2,6 +2,7 @@
# the qemu emulator. Note that the TPM does not work, so this
# will just drop into the recovery shell.
BOARD=qemu
CONFIG_COREBOOT=y
CONFIG_CRYPTSETUP=y
CONFIG_FLASHROM=y
CONFIG_GPG=y

View File

@ -1,6 +1,7 @@
# Configuration for a x220 running Qubes OS
BOARD=x220
CONFIG_COREBOOT=y
CONFIG_CRYPTSETUP=y
CONFIG_FLASHROM=y
CONFIG_GPG=y

View File

@ -1,6 +1,7 @@
# Minimal configuration for a x230 to support flashrom, USB and networking
BOARD=x230.flash
CONFIG_COREBOOT=y
CONFIG_FLASHROM=y
CONFIG_PCIUTILS=y
CONFIG_MBEDTLS=y

View File

@ -1,6 +1,7 @@
# Configuration for a x230 running non-Qubes
BOARD=x230
CONFIG_COREBOOT=y
CONFIG_CRYPTSETUP=y
CONFIG_FLASHROM=y
CONFIG_GPG=y

View File

@ -1,6 +1,7 @@
# Configuration for building the MOC "server" build on the x230
# thinkpad prototypes.
BOARD=x230
CONFIG_COREBOOT=y
CONFIG_CRYPTSETUP=y
CONFIG_FLASHROM=y
CONFIG_GPG=y

View File

@ -1,4 +1,4 @@
modules-y += coreboot
modules-$(CONFIG_COREBOOT) += coreboot
#coreboot_version := git
#coreboot_repo := https://github.com/osresearch/coreboot