aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler-rt/compiler-rt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compiler-rt/compiler-rt.mk')
-rw-r--r--lib/compiler-rt/compiler-rt.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/compiler-rt/compiler-rt.mk b/lib/compiler-rt/compiler-rt.mk
new file mode 100644
index 000000000..d3e2d5ca5
--- /dev/null
+++ b/lib/compiler-rt/compiler-rt.mk
@@ -0,0 +1,13 @@
+#
+# Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+ifeq (${ARCH},aarch32)
+COMPILER_RT_SRCS := $(addprefix lib/compiler-rt/builtins/, \
+ arm/aeabi_uldivmod.S \
+ ctzdi2.c \
+ udivmoddi4.c \
+)
+endif