From 6bb5b59239af33cb04304cf1bcb2a9f0c4be6813 Mon Sep 17 00:00:00 2001 From: Nathan Rennie-Waldock Date: Sun, 27 Sep 2020 00:27:51 +0100 Subject: [PATCH] modules/coreboot: Only check version if we're building coreboot (fixes #841) Signed-off-by: Nathan Rennie-Waldock --- modules/coreboot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/coreboot b/modules/coreboot index f9134dac7..c3bfa39f4 100644 --- a/modules/coreboot +++ b/modules/coreboot @@ -1,5 +1,6 @@ modules-$(CONFIG_COREBOOT) += coreboot +ifeq "$(CONFIG_COREBOOT)" "y" ifeq "$(CONFIG_COREBOOT_VERSION)" "4.8.1" coreboot_version := 4.8.1 coreboot_hash := f0ddf4db0628c1fe1e8348c40084d9cbeb5771400c963fd419cda3995b69ad23 @@ -12,6 +13,7 @@ else ifeq "$(CONFIG_COREBOOT_VERSION)" "4.12" else $(error "$(BOARD): does not specify coreboot version under CONFIG_COREBOOT_VERSION") endif +endif #coreboot_version := git #coreboot_repo := https://github.com/osresearch/coreboot