From c701393e207cd09c6ce232960c7c647bef27055f Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 16 Sep 2016 16:20:24 -0500 Subject: console: honor CONFIG_POSTCAR_CONSOLE The declarations for console_init() were unconditionally exposed even though there is a Kconfig option. Correct this by honoring the CONFIG_POSTCAR_CONSOLE condition. BUG=chrome-os-partner:57513 Change-Id: Id45ae3d7c05a9f4ebcf85c446fc68a709513bb0f Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/16617 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel --- src/console/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/console/Makefile.inc') diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc index 68afb8a18f..059dea544c 100644 --- a/src/console/Makefile.inc +++ b/src/console/Makefile.inc @@ -18,8 +18,8 @@ romstage-y += init.c console.c romstage-y += post.c romstage-y += die.c -postcar-y += vtxprintf.c printk.c -postcar-y += init.c console.c +postcar-$(CONFIG_POSTCAR_CONSOLE) += vtxprintf.c printk.c +postcar-$(CONFIG_POSTCAR_CONSOLE) += init.c console.c postcar-y += post.c postcar-y += die.c -- cgit v1.2.3