From ba9dae27e11102f3bf4477cef70eed3929960104 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 29 Jul 2011 15:34:14 -0700 Subject: Fix compilation with CONFIG_USE_OPTION_TABLE enabled Change-Id: I6c5d973442bc1770702180a8964f1bf6ed6062ed Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/696 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/lib/Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index a31033cf5c..add2fc3cdc 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -45,3 +45,11 @@ smm-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem.c smm-$(CONFIG_USBDEBUG) += usbdebug.c $(obj)/lib/version.ramstage.o : $(obj)/build.h + +OPTION_TABLE_H:= +ifeq ($(CONFIG_HAVE_OPTION_TABLE),y) +OPTION_TABLE_H:=$(obj)/option_table.h +endif + +$(obj)/lib/uart8250mem.smm.o : $(OPTION_TABLE_H) + -- cgit v1.2.3