Skip to content

Commit

Permalink
modules/coreboot: Only check version if we're building coreboot (fixes
Browse files Browse the repository at this point in the history
…#841)

Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
  • Loading branch information
NHellFire committed Sep 26, 2020
1 parent 0eb1f69 commit 6bb5b59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/coreboot
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6bb5b59

Please sign in to comment.