comparison scripts/mk-component.sh @ 68:838717193e09

eliminated the use of bootloader.lib binary blob
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2016 21:54:10 +0000
parents c49c78d9bb5a
children 5e2b0806b098
comparison
equal deleted inserted replaced
67:41779e8ae4da 68:838717193e09
45 fi 45 fi
46 echo "$1_version.c:" >> $BUILD_DIR/$LIBNAME/Makefile 46 echo "$1_version.c:" >> $BUILD_DIR/$LIBNAME/Makefile
47 echo " ../../scripts/make-version.sh $1 > $1_version.c" \ 47 echo " ../../scripts/make-version.sh $1 > $1_version.c" \
48 >> $BUILD_DIR/$LIBNAME/Makefile 48 >> $BUILD_DIR/$LIBNAME/Makefile
49 echo >> $BUILD_DIR/$LIBNAME/Makefile 49 echo >> $BUILD_DIR/$LIBNAME/Makefile
50 }
51
52 asm_file() {
53 if [ $# != 1 ]
54 then
55 echo "Error: asm_file takes 1 argument" 1>&2
56 exit 1
57 fi
58 objname=`basename "$1" .s`.obj
59 helpers/makeline dep $objname "$1" >> $BUILD_DIR/$LIBNAME/Makefile
60 helpers/makeline cmd ../../toolwrap/asm470 ${ASMFLAGS} "$1" '$@' \
61 >> $BUILD_DIR/$LIBNAME/Makefile
62 echo >> $BUILD_DIR/$LIBNAME/Makefile
63 OBJS="$OBJS $objname"
50 } 64 }
51 65
52 cfile_plain() { 66 cfile_plain() {
53 if [ $# != 1 ] 67 if [ $# != 1 ]
54 then 68 then