diff configure-tms470.sh @ 118:225e39652387

TMS470 build system: added m0-to-bin-c155
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 07 Nov 2018 06:18:05 +0000
parents 5ba0bee90efa
children 7f0681afe430
line wrap: on
line diff
--- a/configure-tms470.sh	Wed Nov 07 06:03:02 2018 +0000
+++ b/configure-tms470.sh	Wed Nov 07 06:18:05 2018 +0000
@@ -373,12 +373,17 @@
 
 cat tms470/makefile-frags/link-steps >> $BUILD_DIR/Makefile
 
-if [ "$TARGET" != c139 -a "$TARGET" != c11x ]
-then
-	cat tms470/makefile-frags/m0-to-bin-std >> $BUILD_DIR/Makefile
-else
-	cat tms470/makefile-frags/m0-to-bin-c139 >> $BUILD_DIR/Makefile
-fi
+case "$TARGET" in
+	c11x|c139)
+		cat tms470/makefile-frags/m0-to-bin-c139 >> $BUILD_DIR/Makefile
+		;;
+	c155)
+		cat tms470/makefile-frags/m0-to-bin-c155 >> $BUILD_DIR/Makefile
+		;;
+	*)
+		cat tms470/makefile-frags/m0-to-bin-std >> $BUILD_DIR/Makefile
+		;;
+esac
 
 cat tms470/makefile-frags/flash-script-gen >> $BUILD_DIR/Makefile