Skip to content

Commit 6bb5b59

Browse files
committed
modules/coreboot: Only check version if we're building coreboot (fixes #841)
Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
1 parent 0eb1f69 commit 6bb5b59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/coreboot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
modules-$(CONFIG_COREBOOT) += coreboot
22

3+
ifeq "$(CONFIG_COREBOOT)" "y"
34
ifeq "$(CONFIG_COREBOOT_VERSION)" "4.8.1"
45
coreboot_version := 4.8.1
56
coreboot_hash := f0ddf4db0628c1fe1e8348c40084d9cbeb5771400c963fd419cda3995b69ad23
@@ -12,6 +13,7 @@ else ifeq "$(CONFIG_COREBOOT_VERSION)" "4.12"
1213
else
1314
$(error "$(BOARD): does not specify coreboot version under CONFIG_COREBOOT_VERSION")
1415
endif
16+
endif
1517

1618
#coreboot_version := git
1719
#coreboot_repo := https://github.com/osresearch/coreboot

0 commit comments

Comments
 (0)