File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ include modules/tpmtotp
1212include modules/mbedtls
1313include modules/busybox
1414include modules/linux
15+ include modules/coreboot
1516include modules/coreboot-blobs
1617
1718all : $(modules )
Original file line number Diff line number Diff line change @@ -550,7 +550,7 @@ CONFIG_GENERATE_SMBIOS_TABLES=y
550550# CONFIG_PAYLOAD_UBOOT is not set
551551CONFIG_PAYLOAD_LINUX=y
552552# CONFIG_PAYLOAD_TIANOCORE is not set
553- CONFIG_PAYLOAD_FILE="bzImage"
553+ CONFIG_PAYLOAD_FILE="../linux-4.6.4/arch/x86/boot/ bzImage"
554554CONFIG_PAYLOAD_OPTIONS=""
555555CONFIG_LINUX_COMMAND_LINE=""
556556CONFIG_LINUX_INITRD=""
Original file line number Diff line number Diff line change 1+ modules += coreboot
2+
3+ coreboot_version := 4.4
4+ coreboot_dir := coreboot-$(coreboot_version)
5+ coreboot_tar := coreboot-$(coreboot_version).tar.xz
6+ coreboot_url := https://www.coreboot.org/releases/$(coreboot_tar)
7+ coreboot_hash := ccfa3ea4e6b4a6ff3e4f1a8dc72d61f794af25bf0e73640e54b0b04733cc50a5
8+
9+ 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
14+
15+ # hack to force a build dependency on the cross compiler
16+ $(build)/$(coreboot_dir)/.configured: $(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/iasl
17+ $(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/iasl:
18+ echo '******* Building gcc (this might take a while) ******'
19+ time make -C "$(build)/$(coreboot_dir)" crossgcc
You can’t perform that action at this time.
0 commit comments