summaryrefslogtreecommitdiff
path: root/src/arch/x86/lib/Makefile.inc
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2012-01-24 20:22:20 +0530
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-01-26 22:15:19 +0100
commitacf2aab54b8264b658209d2697ae8b5e26f1b496 (patch)
tree5ecf87b2b5b087857e86873b97b1560946e9c58a /src/arch/x86/lib/Makefile.inc
parent409d17dee7b407729a29c067ab064c78be18841e (diff)
downloadcoreboot-acf2aab54b8264b658209d2697ae8b5e26f1b496.tar.xz
pci_ops_mmconf: Move conditional compilation to Makefile
Moved the conditional compilation out of the source file Change-Id: Ic4045006f39d70f4a0bc37d1bd5e073ed8477c68 Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Reviewed-on: http://review.coreboot.org/578 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
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