diff components/config_gprs_ir @ 27:1803a0bc5808

components/config_*: -DCTRACE for optional str2ind
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 17:44:57 +0000
parents 598958aec071
children e58a5bb12de4
line wrap: on
line diff
--- a/components/config_gprs_ir	Fri Oct 16 17:26:36 2020 +0000
+++ b/components/config_gprs_ir	Fri Oct 16 17:44:57 2020 +0000
@@ -54,7 +54,12 @@
 CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DBOARD=41"
-CPPFLAGS="$CPPFLAGS -DCTRACE"
+
+if [ "$USE_STR2IND" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DCTRACE"
+fi
+
 CPPFLAGS="$CPPFLAGS -DDATA_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DFF_UPM"