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