From aef8542d810b737fe2653dcca1d9566292b3b65d Mon Sep 17 00:00:00 2001 From: Keith Hui Date: Tue, 15 Aug 2017 17:30:05 -0400 Subject: 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 Reviewed-on: https://review.coreboot.org/21023 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Idwer Vollering --- src/northbridge/intel/i440bx/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge/intel/i440bx/Makefile.inc') 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 -- cgit v1.2.3