summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc/Makefile.inc
diff options
context:
space:
mode:
authorYidi Lin <yidilin@chromium.org>2023-11-02 12:29:04 +0800
committerMartin L Roth <gaumless@gmail.com>2023-11-04 17:09:36 +0000
commit0285d67ae37bed601c127490b3d03625b0791c4a (patch)
tree50a44bbb720d0b47e6a34f5518e8658f5f756de0 /payloads/libpayload/libc/Makefile.inc
parent85d7809e0ca80b94fd23a753e0894b8843d38367 (diff)
libpayload/libc/getopt_long: Use common GCD
TEST=emerge-geralt libpayload Change-Id: Ib9dd1d2f658d4411c36d0198774819690686a393 Signed-off-by: Yidi Lin <yidilin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78887 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/libpayload/libc/Makefile.inc')
-rw-r--r--payloads/libpayload/libc/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/libc/Makefile.inc b/payloads/libpayload/libc/Makefile.inc
index bc706ae5a7..2d277da3b5 100644
--- a/payloads/libpayload/libc/Makefile.inc
+++ b/payloads/libpayload/libc/Makefile.inc
@@ -46,4 +46,5 @@ endif
ifeq ($(CONFIG_LP_LIBC),y)
libc-srcs += $(coreboottop)/src/commonlib/bsd/elog.c
+libc-srcs += $(coreboottop)/src/commonlib/bsd/gcd.c
endif