summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/libc/Makefile.inc')
-rw-r--r--payloads/libpayload/libc/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/libpayload/libc/Makefile.inc b/payloads/libpayload/libc/Makefile.inc
index f9006ae471..96d1312f65 100644
--- a/payloads/libpayload/libc/Makefile.inc
+++ b/payloads/libpayload/libc/Makefile.inc
@@ -39,3 +39,7 @@ libc-$(CONFIG_LP_LIBC) += die.c
libc-$(CONFIG_LP_LIBC) += coreboot.c
libc-$(CONFIG_LP_LIBC) += fmap.c
libc-$(CONFIG_LP_LIBC) += fpmath.c
+
+ifeq ($(CONFIG_LP_LIBC),y)
+libc-srcs += $(coreboottop)/src/commonlib/bsd/elog.c
+endif