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

@ -497,6 +497,7 @@ module = {
module = {
name = emuusb;
common = bus/usb/usb.c;
enable = emu;
condition = COND_GRUB_EMU_USB;
};
@ -566,6 +567,7 @@ module = {
common = bus/emu/pci.c;
common = commands/lspci.c;
enable = emu;
condition = COND_GRUB_EMU_PCI;
};