diff components/l1_int @ 77:6b6675a07b70

components/l1_int: compile l1_small_asm.S for gcc
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 06:12:21 +0000
parents 1eb391057168
children 1155be085fc1
line wrap: on
line diff
--- a/components/l1_int	Fri Jul 20 05:56:58 2018 +0000
+++ b/components/l1_int	Fri Jul 20 06:12:21 2018 +0000
@@ -111,3 +111,13 @@
 	c_file l1p_cmpl_intram.c
 	c_file l1p_sync_intram.c
 fi
+
+# small sleep assembly code for the gcc-built version
+
+if [ "$COMPILER" = gcc ]
+then
+	ASMFLAGS=-mthumb-interwork
+	CPPFLAGS=
+
+	asm_file $SRCDIR/cfile/l1_small_asm.S
+fi