diff options
author | Keith Hui <buurin@gmail.com> | 2017-08-15 17:30:05 -0400 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-08-18 18:52:10 +0000 |
commit | aef8542d810b737fe2653dcca1d9566292b3b65d (patch) | |
tree | 5621d4f2e99546594070bfb9c424fe3e4db8d1a3 | |
parent | 632d6abb8ab3d93e3efe313eedecc1293b418966 (diff) | |
download | coreboot-aef8542d810b737fe2653dcca1d9566292b3b65d.tar.xz |
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>
-rw-r--r-- | src/northbridge/intel/i440bx/Makefile.inc | 2 |
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 |