changeset 21:b7059379dd87

scripts/mk-component.sh: tool wrappers moved to tms470/toolwrap
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 22:20:36 +0000
parents 889745bf8615
children 0a1a78944683
files scripts/mk-component.sh
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/mk-component.sh	Sun Jul 15 22:14:07 2018 +0000
+++ b/scripts/mk-component.sh	Sun Jul 15 22:20:36 2018 +0000
@@ -59,8 +59,8 @@
 	fi
 	objname=`basename "$1" .s`.obj
 	helpers/makeline dep $objname "$1" >> $BUILD_DIR/$LIBNAME/Makefile
-	helpers/makeline cmd ../../toolwrap/asm470 ${ASMFLAGS} "$1" '$@' \
-		>> $BUILD_DIR/$LIBNAME/Makefile
+	helpers/makeline cmd ../../tms470/toolwrap/asm470 ${ASMFLAGS} "$1" \
+		'$@' >> $BUILD_DIR/$LIBNAME/Makefile
 	echo >> $BUILD_DIR/$LIBNAME/Makefile
 	OBJS="$OBJS $objname"
 }
@@ -79,8 +79,8 @@
 				>> $BUILD_DIR/$LIBNAME/Makefile
 			;;
 	esac
-	helpers/makeline cmd ../../toolwrap/cl470 -q -c ${CFLAGS} ${CPPFLAGS} \
-		"$1" >> $BUILD_DIR/$LIBNAME/Makefile
+	helpers/makeline cmd ../../tms470/toolwrap/cl470 -q -c ${CFLAGS} \
+		${CPPFLAGS} "$1" >> $BUILD_DIR/$LIBNAME/Makefile
 	case "$objname" in
 		*[A-Z]*)
 			objname_lc=`echo $objname | tr A-Z a-z`
@@ -101,7 +101,7 @@
 # finish the Makefile
 
 helpers/makeline dep $LIBNAME.lib ${OBJS} >> $BUILD_DIR/$LIBNAME/Makefile
-echo '	../../toolwrap/ar470 r $@ $^' >> $BUILD_DIR/$LIBNAME/Makefile
+echo '	../../tms470/toolwrap/ar470 r $@ $^' >> $BUILD_DIR/$LIBNAME/Makefile
 echo >> $BUILD_DIR/$LIBNAME/Makefile
 echo 'clean:' >> $BUILD_DIR/$LIBNAME/Makefile
 echo '	rm -f *.obj *.lib *.c' >> $BUILD_DIR/$LIBNAME/Makefile