mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +00:00
make coreboot an optional dependency (issue #265)
This commit is contained in:
parent
ae8aa669dc
commit
12cea9a8e9
3
Makefile
3
Makefile
@ -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
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Configuration for a purism13v1
|
||||
BOARD=purism13v1
|
||||
|
||||
CONFIG_COREBOOT=y
|
||||
CONFIG_CRYPTSETUP=y
|
||||
CONFIG_FLASHROM=y
|
||||
CONFIG_GPG=y
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
modules-y += coreboot
|
||||
modules-$(CONFIG_COREBOOT) += coreboot
|
||||
|
||||
#coreboot_version := git
|
||||
#coreboot_repo := https://github.com/osresearch/coreboot
|
||||
|
Loading…
Reference in New Issue
Block a user