diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 82dd5c5b8c..ef4e2aaf36 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -33,6 +33,7 @@ bootblock-y += memcmp.c verstage-y += prog_ops.c verstage-y += delay.c verstage-y += cbfs.c +verstage-y += cbfs_core.c verstage-y += memcmp.c verstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c verstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c diff --git a/src/lib/cbfs_core.h b/src/lib/cbfs_core.h index c301c337a2..f9aeaa8069 100644 --- a/src/lib/cbfs_core.h +++ b/src/lib/cbfs_core.h @@ -15,6 +15,8 @@ # define CBFS_MINI_BUILD #elif defined(__BOOTBLOCK__) /* No LZMA in boot block. */ +#elif defined(__VERSTAGE__) + /* No LZMA in verstage. */ #elif defined(__PRE_RAM__) && !CONFIG_COMPRESS_RAMSTAGE /* No LZMA in romstage if ramstage is not compressed. */ #else