|
1 | 1 | modules += coreboot |
2 | 2 |
|
3 | | -coreboot_version := 4.4 |
| 3 | +coreboot_version := git |
4 | 4 | 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 |
6 | 7 | coreboot_url := https://www.coreboot.org/releases/$(coreboot_tar) |
7 | 8 | coreboot_hash := ccfa3ea4e6b4a6ff3e4f1a8dc72d61f794af25bf0e73640e54b0b04733cc50a5 |
8 | 9 |
|
9 | 10 | 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 |
14 | 12 |
|
15 | 13 | # hack to force a build dependency on the cross compiler |
16 | 14 | $(build)/$(coreboot_dir)/.configured: $(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/iasl |
17 | 15 | $(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/iasl: |
18 | 16 | 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 | + |
0 commit comments