diff components/main @ 536:ae18f9aad7ce

C155 target support implemented in a way that should work with this model's original bootloader
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 05 Nov 2018 23:15:45 +0000
parents 838eeafb0051
children a7ed7d4483b0
line wrap: on
line diff
--- a/components/main	Mon Nov 05 17:30:51 2018 +0000
+++ b/components/main	Mon Nov 05 23:15:45 2018 +0000
@@ -70,4 +70,11 @@
 ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
 ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
 
+if [ "$TARGET" = c155 ]
+then
+	ASMFLAGS="$ASMFLAGS -dC155_TARGET=1"
+else
+	ASMFLAGS="$ASMFLAGS -dC155_TARGET=0"
+fi
+
 asm_file $SRCDIR/int.s