From 8b17404178c3c818ce2f5e0cd8f8506d8635391c Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 27 Apr 2015 18:03:50 +0200 Subject: [PATCH] lib: When used, add timestamp.c to bootblock and verstage, too Otherwise it won't build. Change-Id: If9e1435b0dc8bfe220b3a257976e928373fbc9a5 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10003 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel --- src/lib/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 78b16d91b5..318fe4d9f3 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -25,6 +25,7 @@ bootblock-$(CONFIG_GENERIC_GPIO_LIB) += gpio.c bootblock-$(CONFIG_GENERIC_UDELAY) += timer.c +bootblock-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c bootblock-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c bootblock-y += memchr.c bootblock-y += memcmp.c @@ -33,6 +34,7 @@ verstage-y += prog_ops.c verstage-y += delay.c verstage-y += cbfs.c verstage-y += memcmp.c +verstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c verstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c verstage-$(CONFIG_COMMON_CBFS_SPI_WRAPPER) += cbfs_spi.c