summaryrefslogtreecommitdiff
path: root/src/lib/Makefile.inc
diff options
context:
space:
mode:
authorJohn E. Kabat Jr <john.kabat@scarletltd.com>2017-09-29 11:23:35 -0600
committerMarc Jones <marc@marcjonesconsulting.com>2017-10-16 16:10:51 +0000
commitd45011c9c63afb6f4b25b8ae92d7b74cc873b15c (patch)
treef029f2347a0e8a3fa7278894d1e1ff740c2d6429 /src/lib/Makefile.inc
parent14cb828f4fd818c4d9d1bcf80db9e5a9fc2df19f (diff)
downloadcoreboot-d45011c9c63afb6f4b25b8ae92d7b74cc873b15c.tar.xz
drivers/elog: Fix debug build errors
Add hexdump.c to Makefile.inc and change an elog_debug format to use %z for size_t arguments. This corrects build errors when ELOG_DEBUG is used. Change-Id: I3d5547eed8ada7c4bdcbbb8bb9d6965ade73beda Signed-off-by: John E. Kabat Jr <john.kabat@scarletltd.com> Reviewed-on: https://review.coreboot.org/21769 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib/Makefile.inc')
-rw-r--r--src/lib/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 778bea8165..dfb23b625b 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -165,6 +165,7 @@ bootblock-y += hexdump.c
ramstage-y += hexdump.c
romstage-y += hexdump.c
verstage-y += hexdump.c
+smm-y += hexdump.c
bootblock-$(CONFIG_REG_SCRIPT) += reg_script.c
verstage-$(CONFIG_REG_SCRIPT) += reg_script.c