[coreboot-gerrit] Change in coreboot[master]: nb/intel/i440bx: Compile debug.c only if CONFIG_DEBUG_RAM_SETUP

Keith Hui (Code Review) gerrit at coreboot.org
Tue Aug 15 23:58:17 CEST 2017


Keith Hui has uploaded this change for review. ( https://review.coreboot.org/21023


Change subject: nb/intel/i440bx: Compile debug.c only if CONFIG_DEBUG_RAM_SETUP
......................................................................

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 at gmail.com>
---
M src/northbridge/intel/i440bx/Makefile.inc
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/21023/1

diff --git a/src/northbridge/intel/i440bx/Makefile.inc b/src/northbridge/intel/i440bx/Makefile.inc
index ecefe6a..2e00926 100644
--- a/src/northbridge/intel/i440bx/Makefile.inc
+++ b/src/northbridge/intel/i440bx/Makefile.inc
@@ -19,6 +19,6 @@
 ramstage-y += northbridge.c
 
 romstage-y += raminit.c
-romstage-y += debug.c
+romstage-$(CONFIG_DEBUG_RAM_SETUP) += debug.c
 
 endif

-- 
To view, visit https://review.coreboot.org/21023
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e3d982066d1fa66a3da5f37e278ec7fd5bb1ea8
Gerrit-Change-Number: 21023
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Hui <buurin at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170815/564f4ddf/attachment-0001.html>


More information about the coreboot-gerrit mailing list