modules/coreboot: Allow building from Purism's coreboot git repo

Use commit hash from 4.16-Purism-1 tag.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
This commit is contained in:
Matt DeVillier 2021-03-25 11:58:02 -05:00 committed by Jonathon Hall
parent efc49c7425
commit 1ea5f3bd6b
No known key found for this signature in database
GPG Key ID: 1E9C3CA91AE25114
2 changed files with 7 additions and 2 deletions

View File

@ -47,6 +47,11 @@ else ifeq "$(CONFIG_COREBOOT_VERSION)" "talos_2"
coreboot_commit_hash = 068ad520e4ae898d356add72ea7d2a13913b76ab
coreboot_repo := https://github.com/Dasharo/coreboot
else ifeq "$(CONFIG_COREBOOT_VERSION)" "purism"
coreboot_version := git
coreboot_repo := https://source.puri.sm/coreboot/coreboot
coreboot_commit_hash := 6b65c78be89bb640b4b19a187de8400751ed1df5
EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches -Wno-error=packed-not-aligned -Wno-error=address-of-packed-member
else
$(error "$(BOARD): does not specify coreboot version under CONFIG_COREBOOT_VERSION")
endif

View File

@ -1,11 +1,11 @@
modules-$(CONFIG_PURISM_BLOBS) += purism-blobs
purism-blobs_base_dir := coreboot-$(CONFIG_COREBOOT_VERSION)/3rdparty/purism-blobs
purism-blobs_version := 51227164fe693042b66c7372f54057d8082dff08
purism-blobs_version := 09837af92a03beb0d45d30b4e4e8f18e3dc72bd2
purism-blobs_tar := purism-blobs-${purism-blobs_version}.tar.gz
purism-blobs_tar_opt := --strip 1
purism-blobs_url := https://source.puri.sm/coreboot/purism-blobs/-/archive/${purism-blobs_version}/${purism-blobs_tar}
purism-blobs_hash := 4e0eb2010631fb96fff4b58cf03a47c554e5524a2cd6b4d3809fd3d0985ebb6e
purism-blobs_hash := b95e4dfb6a5960c80a8c36f009c20828cd7f1adbb76d655c28fa415dee329513
## there is nothing to be built
purism-blobs_output := .built