Skip to content

Commit 3ba3e2a

Browse files
committed
use coreboot from git instead of downloading it, move blobs into this module file
1 parent 74e2156 commit 3ba3e2a

2 files changed

Lines changed: 24 additions & 19 deletions

File tree

modules/coreboot

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,36 @@
11
modules += coreboot
22

3-
coreboot_version := 4.4
3+
coreboot_version := git
44
coreboot_dir := coreboot-$(coreboot_version)
5-
coreboot_tar := coreboot-$(coreboot_version).tar.xz
5+
#coreboot_tar := coreboot-$(coreboot_version).tar.xz
6+
coreboot_tar := coreboot-4.4.tar.xz
67
coreboot_url := https://www.coreboot.org/releases/$(coreboot_tar)
78
coreboot_hash := ccfa3ea4e6b4a6ff3e4f1a8dc72d61f794af25bf0e73640e54b0b04733cc50a5
89

910
coreboot_configure := make oldconfig
10-
coreboot_output := buld/coreboot.rom
11-
12-
# The coreboot-blobs must be unpacked before we can build coreboot
13-
coreboot_depends := coreboot-blobs linux initrd
11+
coreboot_output := build/coreboot.rom
1412

1513
# hack to force a build dependency on the cross compiler
1614
$(build)/$(coreboot_dir)/.configured: $(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/iasl
1715
$(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/iasl:
1816
echo '******* Building gcc (this might take a while) ******'
19-
time make -C "$(build)/$(coreboot_dir)" crossgcc
17+
time make -C "$(build)/$(coreboot_dir)" crossgcc-i386
18+
19+
# The coreboot-blobs must be unpacked before we can build coreboot
20+
# if we are using a tar file; git checkout will clone the submodule.
21+
coreboot_depends := linux initrd
22+
23+
#coreboot_depends += coreboot_blobs
24+
#modules += coreboot-blobs
25+
#
26+
#coreboot-blobs_version := 4.4
27+
#coreboot-blobs_tar := coreboot-blobs-$(coreboot-blobs_version).tar.xz
28+
#coreboot-blobs_dir := coreboot-$(coreboot-blobs_version)/3rdparty/blobs
29+
#coreboot-blobs_url := https://www.coreboot.org/releases/$(coreboot-blobs_tar)
30+
#coreboot-blobs_hash := 43b993915c0f46a77ee7ddaa2dbe47581f399510632c62f2558dff931358d8ab
31+
#
32+
## there is nothing to build for the blobs, this should be
33+
## made easier to make happen
34+
#coreboot-blobs_output := .built
35+
#coreboot-blobs_configure := echo -e 'all:\n\ttouch .built' > Makefile
36+

modules/coreboot-blobs

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)