summaryrefslogtreecommitdiffstats
path: root/src/arch/x86
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-03-01 16:56:34 -0600
committerRonald G. Minnich <rminnich@gmail.com>2013-03-21 23:14:04 +0100
commit2b7c88f99ed55682378bc0b1aae8004e6e27fe7b (patch)
tree37fd1e7c73005159a289d2431d318e52f3209e12 /src/arch/x86
parentdeb90f475992c6991f03dbf6035d7b82d2ee9044 (diff)
downloadcoreboot-2b7c88f99ed55682378bc0b1aae8004e6e27fe7b.tar.gz
coreboot-2b7c88f99ed55682378bc0b1aae8004e6e27fe7b.tar.bz2
coreboot-2b7c88f99ed55682378bc0b1aae8004e6e27fe7b.zip
rmodule: add string functions to rmodules class
The standard string functions memcmp(), memset(), and memcpy() are needed by most programs. The rmodules class provides a way to build objects for the rmodules class. Those programs most likely need the string functions. Therefore provide those standard functions to be used by any generic rmodule program. Change-Id: I2737633f03894d54229c7fa7250c818bf78ee4b7 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/2821 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/lib/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/lib/Makefile.inc b/src/arch/x86/lib/Makefile.inc
index 49d7e9e60eda..82f4e62d21e8 100644
--- a/src/arch/x86/lib/Makefile.inc
+++ b/src/arch/x86/lib/Makefile.inc
@@ -20,4 +20,7 @@ smm-y += memset.c
smm-y += memcpy.c
smm-y += rom_media.c
+rmodules-y += memset.c
+rmodules-y += memcpy.c
+
$(obj)/arch/x86/lib/console.ramstage.o :: $(obj)/build.h