mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 15:50:58 +00:00
coreboot build (might) work; need to do a test from clean while online
This commit is contained in:
parent
3fde9759f3
commit
62c544ea96
1
Makefile
1
Makefile
@ -12,6 +12,7 @@ include modules/tpmtotp
|
||||
include modules/mbedtls
|
||||
include modules/busybox
|
||||
include modules/linux
|
||||
include modules/coreboot
|
||||
include modules/coreboot-blobs
|
||||
|
||||
all: $(modules)
|
||||
|
@ -550,7 +550,7 @@ CONFIG_GENERATE_SMBIOS_TABLES=y
|
||||
# CONFIG_PAYLOAD_UBOOT is not set
|
||||
CONFIG_PAYLOAD_LINUX=y
|
||||
# CONFIG_PAYLOAD_TIANOCORE is not set
|
||||
CONFIG_PAYLOAD_FILE="bzImage"
|
||||
CONFIG_PAYLOAD_FILE="../linux-4.6.4/arch/x86/boot/bzImage"
|
||||
CONFIG_PAYLOAD_OPTIONS=""
|
||||
CONFIG_LINUX_COMMAND_LINE=""
|
||||
CONFIG_LINUX_INITRD=""
|
||||
|
19
modules/coreboot
Normal file
19
modules/coreboot
Normal file
@ -0,0 +1,19 @@
|
||||
modules += coreboot
|
||||
|
||||
coreboot_version := 4.4
|
||||
coreboot_dir := coreboot-$(coreboot_version)
|
||||
coreboot_tar := coreboot-$(coreboot_version).tar.xz
|
||||
coreboot_url := https://www.coreboot.org/releases/$(coreboot_tar)
|
||||
coreboot_hash := ccfa3ea4e6b4a6ff3e4f1a8dc72d61f794af25bf0e73640e54b0b04733cc50a5
|
||||
|
||||
coreboot_configure := make oldconfig
|
||||
coreboot_output := buld/coreboot.rom
|
||||
|
||||
# The coreboot-blobs must be unpacked before we can build coreboot
|
||||
coreboot_depends := coreboot-blobs linux initrd
|
||||
|
||||
# hack to force a build dependency on the cross compiler
|
||||
$(build)/$(coreboot_dir)/.configured: $(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/iasl
|
||||
$(build)/$(coreboot_dir)/util/crossgcc/xgcc/bin/iasl:
|
||||
echo '******* Building gcc (this might take a while) ******'
|
||||
time make -C "$(build)/$(coreboot_dir)" crossgcc
|
Loading…
Reference in New Issue
Block a user