diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2011-07-29 15:34:14 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-03-09 20:34:21 +0100 |
commit | ba9dae27e11102f3bf4477cef70eed3929960104 (patch) | |
tree | aa1936539f8cf7462857582e0b330496ab62c237 /src | |
parent | 6f88a6ec7dce8eb12f52afcc0f7fcbaececa06e7 (diff) | |
download | coreboot-ba9dae27e11102f3bf4477cef70eed3929960104.tar.xz |
Fix compilation with CONFIG_USE_OPTION_TABLE enabled
Change-Id: I6c5d973442bc1770702180a8964f1bf6ed6062ed
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/696
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Makefile.inc | 8 |
1 files changed, 8 insertions, 0 deletions
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) + |