diff components/main-init @ 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 bb9a08797022
children 3575e65c059e
line wrap: on
line diff
--- a/components/main-init	Mon Nov 05 17:30:51 2018 +0000
+++ b/components/main-init	Mon Nov 05 23:15:45 2018 +0000
@@ -78,4 +78,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