2020-03-03 21:35:59 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2006-02-15 05:53:21 +08:00
|
|
|
bootsect
|
|
|
|
bzImage
|
2008-04-25 18:21:11 +08:00
|
|
|
cpustr.h
|
|
|
|
mkcpustr
|
2009-06-02 14:23:58 +08:00
|
|
|
voffset.h
|
|
|
|
zoffset.h
|
2006-02-15 05:53:21 +08:00
|
|
|
setup
|
2007-07-20 03:09:10 +08:00
|
|
|
setup.bin
|
|
|
|
setup.elf
|
2017-11-06 11:32:59 +08:00
|
|
|
fdimage
|
|
|
|
mtools.conf
|
|
|
|
image.iso
|
x86/boot: Modernize genimage script; hdimage+EFI support
The image generation scripts in arch/x86/boot are pretty out of date,
except for the isoimage target. Update and clean up the
genimage.sh script, and make it support an arbitrary number of
initramfs files in the image.
Add a "hdimage" target, which can be booted by either BIOS or
EFI (if the kernel is compiled with the EFI stub.) For EFI to be able
to pass the command line to the kernel, we need the EFI shell, but the
firmware builtin EFI shell, if it even exists, is pretty much always
the last resort boot option, so search for OVMF or EDK2 and explicitly
include a copy of the EFI shell.
To make this all work, use bash features in the script. Furthermore,
this version of the script makes use of some mtools features,
especially mpartition, that might not exist in very old version of
mtools, but given all the other dependencies on this script this
doesn't seem such a big deal.
Finally, put a volume label ("LINUX_BOOT") on all generated images.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210510082840.628372-1-hpa@zytor.com
2021-05-10 16:28:40 +08:00
|
|
|
hdimage
|