cdrom: Move list of EFI modules to lfs/cdrom

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-07-25 10:54:35 +01:00
parent 0efda7ac67
commit de7c8df83e
2 changed files with 53 additions and 58 deletions

View File

@@ -92,63 +92,6 @@ ifeq "$(BUILD_ARCH)" "aarch64"
GRUB_ARCH = arm64
endif
# Basic modules
GRUB_EFI_MODULES = \
configfile \
gzio \
linux \
loadenv \
normal \
regexp
# Stuff for accessing file systems
GRUB_EFI_MODULES += \
ext2 \
fat \
iso9660 \
part_gpt \
part_msdos \
udf
# Graphics & IO
GRUB_EFI_MODULES += \
all_video \
bitmap_scale \
font \
gfxmenu \
gfxterm \
jpeg \
png \
tga
# Commands
GRUB_EFI_MODULES += \
boot \
cat \
chain \
echo \
halt \
help \
ls \
minicmd \
probe \
reboot \
search \
search_fs_file \
search_fs_uuid \
search_label \
test \
true
# Platform dependent modules
ifeq "$(BUILD_ARCH)" "x86_64"
GRUB_EFI_MODULES += \
loadbios \
ahci \
at_keyboard \
usb_keyboard
endif
###############################################################################
# Common Macro Definitions
###############################################################################

View File

@@ -74,6 +74,58 @@ ifeq "$(EFI)" "1"
ISOHYBRID_ARGS += --uefi
endif
GRUB_EFI_MODULES = \
all_video \
at_keyboard \
boot \
bitmap_scale \
cat \
chain \
configfile \
disk \
echo \
efi_gop \
efi_uga \
ext2 \
extcmd \
fat \
file \
font \
fxterm_menu \
gfxterm \
gfxmenu \
gfxterm_background \
gzio \
halt \
help \
iso9660 \
jpeg \
loadbios \
loadenv \
loopback \
linux \
ls \
memdisk \
minicmd \
nativedisk \
normal \
ntfs \
part_gpt \
part_msdos \
png \
probe \
reboot \
regexp \
search \
search_fs_file \
search_fs_uuid \
search_label \
tar \
test \
tga \
true \
usb_keyboard
###############################################################################
# Top-level Rules
###############################################################################
@@ -164,7 +216,7 @@ ifeq "$(EFI)" "1"
--config=/tmp/grub-efi.cfg \
--compression=xz \
--prefix=/EFI/BOOT \
$(GRUB_EFI_MODULES)
$$(for mod in $(GRUB_EFI_MODULES); do [ -f "/usr/lib/grub/$(GRUB_ARCH)-efi/$${mod}.mod" ] && echo "$${mod}"; done)
# Install GRUB configuration
mkdir -pv /install/cdrom/EFI/BOOT