comparison scripts/mk-component.sh @ 32:c49c78d9bb5a

scripts/mk-component.sh: fix for cl470's auto-lowercasing of filenames only implemented in cfile_plain so far, str2ind case remains to be handled
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Sep 2016 17:00:31 +0000
parents c8bdae60fcb1
children 838717193e09
comparison
equal deleted inserted replaced
31:9c43952eae1a 32:c49c78d9bb5a
57 fi 57 fi
58 objname=`basename "$1" .c`.obj 58 objname=`basename "$1" .c`.obj
59 helpers/makeline dep $objname "$1" >> $BUILD_DIR/$LIBNAME/Makefile 59 helpers/makeline dep $objname "$1" >> $BUILD_DIR/$LIBNAME/Makefile
60 helpers/makeline cmd ../../toolwrap/cl470 -q -c ${CFLAGS} ${CPPFLAGS} \ 60 helpers/makeline cmd ../../toolwrap/cl470 -q -c ${CFLAGS} ${CPPFLAGS} \
61 "$1" >> $BUILD_DIR/$LIBNAME/Makefile 61 "$1" >> $BUILD_DIR/$LIBNAME/Makefile
62 case "$objname" in
63 *[A-Z]*)
64 objname_lc=`echo $objname | tr A-Z a-z`
65 helpers/makeline cmd mv $objname_lc $objname \
66 >> $BUILD_DIR/$LIBNAME/Makefile
67 ;;
68 esac
62 echo >> $BUILD_DIR/$LIBNAME/Makefile 69 echo >> $BUILD_DIR/$LIBNAME/Makefile
63 OBJS="$OBJS $objname" 70 OBJS="$OBJS $objname"
64 } 71 }
65 72
66 cfile_str2ind() { 73 cfile_str2ind() {