summaryrefslogtreecommitdiff
path: root/src/arch/x86/lib/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/lib/Makefile.inc')
-rw-r--r--src/arch/x86/lib/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/x86/lib/Makefile.inc b/src/arch/x86/lib/Makefile.inc
index 3092388586..3388a9dea3 100644
--- a/src/arch/x86/lib/Makefile.inc
+++ b/src/arch/x86/lib/Makefile.inc
@@ -2,7 +2,9 @@ ramstage-y += c_start.S
ramstage-y += cpu.c
ramstage-y += pci_ops_conf1.c
ramstage-y += pci_ops_conf2.c
-ramstage-y += pci_ops_mmconf.c
+
+ramstage-$(CONFIG_MMCONF_SUPPORT) += pci_ops_mmconf.c
+
ramstage-y += pci_ops_auto.c
ramstage-y += exception.c
ramstage-$(CONFIG_IOAPIC) += ioapic.c