summaryrefslogtreecommitdiff
path: root/src/lib/Makefile.inc
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2019-01-29 12:48:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-30 11:05:20 +0000
commit9204355b4d2a7dbde41dff262f223a6b7ac674b2 (patch)
treee116c4e9b82a1addc6ea1924c38860835c7f8f27 /src/lib/Makefile.inc
parent05532260aee0302e43a4935a402c7b9268036267 (diff)
downloadcoreboot-9204355b4d2a7dbde41dff262f223a6b7ac674b2.tar.xz
string: move strdup() & strconcat() to lib/string.c
Move functions not available in PRE_RAM into seperate file. Makes it easier to share code between rom and ramstage. Change-Id: I0b9833fbf6742d110ee4bfc00cd650f219aebb2c Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/31141 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@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 2fd4e4ca0c..68431f9ce5 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -118,6 +118,7 @@ ramstage-y += bootmem.c
ramstage-y += fmap.c
ramstage-y += memchr.c
ramstage-y += memcmp.c
+ramstage-y += string.c
ramstage-y += malloc.c
smm-$(CONFIG_SMM_TSEG) += malloc.c
ramstage-y += dimm_info_util.c