# # mkfont moved to an optional dependency # list_remove GRUB2_OPTS '--enable-grub-mkfont' && list_remove GRUB2_OPTS '--enable-grub-emu' && # grub-emu-usb depends on LIBUSB list_remove GRUB2_OPTS '--enable-grub-emu-usb' && list_remove GRUB2_OPTS '--disable-grub-emu-usb' && list_remove GRUB2_OPTS '--enable-grub-pe2elf' && # fstest is no longer an option as of 1.99 list_remove GRUB2_OPTS '--enable-grub-fstest' && list_remove GRUB2_OPTS '--disable-grub-fstest' && config_query_option GRUB2_OPTS 'include memory manger debugging?' n \ '--enable-mm-debug' \ '--disable-mm-debug' && config_query_option GRUB2_OPTS 'build and install the efiemu runtimes?' y \ '--enable-efiemu' \ '--disable-efiemu' && config_query_list GRUB2_PLATFORM "Select platform:" \ pc/i386 efi/i386 efi/x86_64 .