copy the bzImage into the coreboot build directory

This commit is contained in:
Trammell Hudson 2016-08-02 21:59:14 -04:00
parent c01435a240
commit 4589e5d1d3
Failed to extract signature
2 changed files with 7 additions and 1 deletions

View File

@ -145,3 +145,9 @@ initrd.cpio: $(initrd_bins) initrd_libs
# hack for the linux kernel to depend on the initrd image # hack for the linux kernel to depend on the initrd image
# this will change once coreboot can link in the initrd separately # this will change once coreboot can link in the initrd separately
$(call outputs,linux): initrd.cpio $(call outputs,linux): initrd.cpio
# hack for the coreboot to find the linux kernel
$(build)/$(coreboot_dir)/bzImage: $(call outputs,linux)
cmp --quiet "$$@" "$$^" || \
cp -a "$$^" "$$@"
$(call outputs,corebot): $(build)/$(coreboot_dir)/bzImage

View File

@ -550,7 +550,7 @@ CONFIG_GENERATE_SMBIOS_TABLES=y
# CONFIG_PAYLOAD_UBOOT is not set # CONFIG_PAYLOAD_UBOOT is not set
CONFIG_PAYLOAD_LINUX=y CONFIG_PAYLOAD_LINUX=y
# CONFIG_PAYLOAD_TIANOCORE is not set # CONFIG_PAYLOAD_TIANOCORE is not set
CONFIG_PAYLOAD_FILE="../linux-4.6.4/arch/x86/boot/bzImage" CONFIG_PAYLOAD_FILE="./bzImage"
CONFIG_PAYLOAD_OPTIONS="" CONFIG_PAYLOAD_OPTIONS=""
CONFIG_LINUX_COMMAND_LINE="" CONFIG_LINUX_COMMAND_LINE=""
CONFIG_LINUX_INITRD="" CONFIG_LINUX_INITRD=""