summaryrefslogtreecommitdiff
path: root/src/devices/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/Makefile.inc')
-rw-r--r--src/devices/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/Makefile.inc b/src/devices/Makefile.inc
index 4516401cc3..dd518bd16b 100644
--- a/src/devices/Makefile.inc
+++ b/src/devices/Makefile.inc
@@ -11,11 +11,11 @@ obj-y += pnp_device.o
obj-y += pci_ops.o
obj-y += smbus_ops.o
+subdirs-y += oprom
+
ifeq ($(CONFIG_PCI_ROM_RUN),y)
obj-y += pci_rom.o
-subdirs-y += oprom
else
obj-$(CONFIG_VGA_ROM_RUN) += pci_rom.o
-subdirs-$(CONFIG_VGA_ROM_RUN) += oprom
endif