summaryrefslogtreecommitdiff
path: root/src/devices/Config.lb
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/Config.lb')
-rw-r--r--src/devices/Config.lb7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/Config.lb b/src/devices/Config.lb
index da621e7962..8de8d4af32 100644
--- a/src/devices/Config.lb
+++ b/src/devices/Config.lb
@@ -1,3 +1,4 @@
+uses CONFIG_PCI_ROM_RUN
object device.o
object root_device.o
object device_util.o
@@ -7,5 +8,7 @@ object hypertransport.o
object pci_ops.o
object smbus_ops.o
-object pci_rom.o
-dir emulator
+if CONFIG_PCI_ROM_RUN
+ object pci_rom.o
+ dir emulator
+end