summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i440bx
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2017-08-15 17:30:05 -0400
committerMartin Roth <martinroth@google.com>2017-08-18 18:52:10 +0000
commitaef8542d810b737fe2653dcca1d9566292b3b65d (patch)
tree5621d4f2e99546594070bfb9c424fe3e4db8d1a3 /src/northbridge/intel/i440bx
parent632d6abb8ab3d93e3efe313eedecc1293b418966 (diff)
nb/intel/i440bx: Compile debug.c only if CONFIG_DEBUG_RAM_SETUP
... is enabled. Otherwise we are compiling an effectively empty file. Change-Id: I4e3d982066d1fa66a3da5f37e278ec7fd5bb1ea8 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/21023 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Idwer Vollering <vidwer@gmail.com>
Diffstat (limited to 'src/northbridge/intel/i440bx')
-rw-r--r--src/northbridge/intel/i440bx/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/i440bx/Makefile.inc b/src/northbridge/intel/i440bx/Makefile.inc
index ecefe6ab8a..2e0092636a 100644
--- a/src/northbridge/intel/i440bx/Makefile.inc
+++ b/src/northbridge/intel/i440bx/Makefile.inc
@@ -19,6 +19,6 @@ ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I440BX),y)
ramstage-y += northbridge.c
romstage-y += raminit.c
-romstage-y += debug.c
+romstage-$(CONFIG_DEBUG_RAM_SETUP) += debug.c
endif