aboutsummaryrefslogtreecommitdiff
path: root/libgloss/riscv
diff options
context:
space:
mode:
authorAlexey Lapshin <alexey.lapshin@espressif.com>2023-09-18 22:46:19 -0400
committerJeff Johnston <jjohnstn@redhat.com>2023-09-18 22:49:15 -0400
commit55485616ba2afedca05da40f5cde59ee336b9f28 (patch)
treed19df741d6b6db5120e101f43121c38f9a8539a5 /libgloss/riscv
parent6e5676a915e70edfef1cda870ee00263ce7b3a57 (diff)
downloadnewlib-55485616ba2afedca05da40f5cde59ee336b9f28.zip
newlib-55485616ba2afedca05da40f5cde59ee336b9f28.tar.gz
newlib-55485616ba2afedca05da40f5cde59ee336b9f28.tar.bz2
Bring back libsim.a for riscv
Diffstat (limited to 'libgloss/riscv')
-rw-r--r--libgloss/riscv/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/riscv/Makefile.inc b/libgloss/riscv/Makefile.inc
index fafc743..452b7da 100644
--- a/libgloss/riscv/Makefile.inc
+++ b/libgloss/riscv/Makefile.inc
@@ -40,6 +40,10 @@ multilibtool_LIBRARIES += %D%/libgloss.a
%D%/sys_wait.c \
%D%/sys_write.c
+multilibtool_LIBRARIES += %D%/libsim.a
+%C%_libsim_a_CPPFLAGS = $(%C%_libgloss_a_CPPFLAGS) -DUSING_SIM_SPECS
+%C%_libsim_a_SOURCES = $(%C%_libgloss_a_SOURCES)
+
multilibtool_LIBRARIES += %D%/libsemihost.a
%C%_libsemihost_a_CPPFLAGS = -I$(srcdir)/%D%
%C%_libsemihost_a_SOURCES = \