enable emuusb and emupci on emu platform only

Also explicitly disable them in configure unless built for emu platform.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
This commit is contained in:
Andrey Borzenkov 2013-11-04 16:53:39 +04:00
parent 67508925d0
commit e7d09ac4f7
3 changed files with 15 additions and 0 deletions

View file

@ -1026,6 +1026,13 @@ fi
AC_SUBST([enable_grub_emu_sdl])
AC_SUBST([enable_grub_emu_usb])
AC_SUBST([enable_grub_emu_pci])
else
# Ignore --enable-emu-* if platform is not emu
enable_grub_emu_sdl=no
enable_grub_emu_usb=no
enable_grub_emu_pci=no
fi
AC_ARG_ENABLE([grub-mkfont],