Skip to content

Commit cc81517

Browse files
committed
use coreboot-4.5 release with a patch against the source tree (issue #102)
1 parent 8f7debc commit cc81517

2 files changed

Lines changed: 517 additions & 17 deletions

File tree

modules/coreboot

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
modules += coreboot
22

3-
coreboot_version := git
3+
#coreboot_version := git
4+
#coreboot_repo := https://github.com/osresearch/coreboot
5+
coreboot_version := 4.5
46
coreboot_dir := coreboot-$(coreboot_version)
5-
#coreboot_tar := coreboot-$(coreboot_version).tar.xz
6-
#coreboot_tar := coreboot-4.4.tar.xz
7-
#coreboot_url := https://www.coreboot.org/releases/$(coreboot_tar)
8-
#coreboot_hash := ccfa3ea4e6b4a6ff3e4f1a8dc72d61f794af25bf0e73640e54b0b04733cc50a5
7+
coreboot_tar := coreboot-$(coreboot_version).tar.xz
8+
coreboot_url := https://www.coreboot.org/releases/$(coreboot_tar)
9+
coreboot_hash := 0ffdcb0d18f506c483f8fe99df54fe7d5769f834eeffdc23160b035fee2a6027
910

10-
coreboot_repo := https://github.com/osresearch/coreboot
1111

1212
# Coreboot builds are specialized on a per-target basis.
1313
# The builds are done in a per-target subdirectory
@@ -45,17 +45,22 @@ $(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/i386-elf-gcc:
4545
# if we are using a tar file; git checkout will clone the submodule.
4646
coreboot_depends := linux initrd
4747

48-
#coreboot_depends += coreboot_blobs
49-
#modules += coreboot-blobs
50-
#
51-
#coreboot-blobs_version := 4.4
52-
#coreboot-blobs_tar := coreboot-blobs-$(coreboot-blobs_version).tar.xz
53-
#coreboot-blobs_dir := coreboot-$(coreboot-blobs_version)/3rdparty/blobs
54-
#coreboot-blobs_url := https://www.coreboot.org/releases/$(coreboot-blobs_tar)
55-
#coreboot-blobs_hash := 43b993915c0f46a77ee7ddaa2dbe47581f399510632c62f2558dff931358d8ab
56-
#
48+
ifneq "$(coreboot_version)" "git"
49+
50+
# if we are not building from a git checkout,
51+
# we must also download the coreboot-blobs tree
52+
coreboot_depends += coreboot-blobs
53+
modules += coreboot-blobs
54+
55+
coreboot-blobs_version := $(coreboot_version)
56+
coreboot-blobs_tar := coreboot-blobs-$(coreboot-blobs_version).tar.xz
57+
coreboot-blobs_dir := coreboot-$(coreboot-blobs_version)/3rdparty/blobs
58+
coreboot-blobs_url := https://www.coreboot.org/releases/$(coreboot-blobs_tar)
59+
coreboot-blobs_hash := 86dc3939f546fa9c3907434f9e8ee9e2362f9572b492fc92ea89ae313cf214e4
60+
5761
## there is nothing to build for the blobs, this should be
5862
## made easier to make happen
59-
#coreboot-blobs_output := .built
60-
#coreboot-blobs_configure := echo -e 'all:\n\ttouch .built' > Makefile
63+
coreboot-blobs_output := .built
64+
coreboot-blobs_configure := echo -e 'all:\n\ttouch .built' > Makefile
6165

66+
endif

0 commit comments

Comments
 (0)