[Vm-dev] [commit][3090] update ARM mvm etc files to include cleaner
fastblt building
commits at squeakvm.org
commits at squeakvm.org
Fri Oct 3 00:08:10 UTC 2014
Revision: 3090
Author: rowledge
Date: 2014-10-02 17:08:10 -0700 (Thu, 02 Oct 2014)
Log Message:
-----------
update ARM mvm etc files to include cleaner fastblt building
Modified Paths:
--------------
branches/Cog/platforms/unix/config/mkmf
Modified: branches/Cog/platforms/unix/config/mkmf
===================================================================
--- branches/Cog/platforms/unix/config/mkmf 2014-10-03 00:06:43 UTC (rev 3089)
+++ branches/Cog/platforms/unix/config/mkmf 2014-10-03 00:08:10 UTC (rev 3090)
@@ -86,6 +86,7 @@
srcs="${srcs} `findFiles .cc ${dd}`"
srcs="${srcs} `findFiles .cpp ${dd}`"
srcs="${srcs} `findFiles .S ${dd}`"
+ srcs="${srcs} `findFiles .s ${dd}`"
srcs="${srcs} `findFiles .m ${dd}`"
hdrs="${hdrs} `findFiles .h ${dd}`"
# override Makefile.in
@@ -110,15 +111,16 @@
# in the platform plugin dir)
echo "" > ${objs}
for c in ${srcs}; do
- o=`basename ${c} | sed 's,\.cp*,$o,;s,\.m,$o,;s,\.S,$o,'`
+ o=`basename ${c} | sed 's,\.cp*,$o,;s,\.m,$o,;s,\.S,$o,;s,\.s,$o,'`
grep -qs "^$o$" ${excluded} || grep -qs "^$o$" ${objs} || targets="${targets} ${o}"
echo "$o" >>${objs}
- echo >> ${make_targets}
- echo "${o} : ${c}" >> ${make_targets}
+ echo >> ${make_targets}
+ echo "${o} : ${c}" >> ${make_targets}
case ${c} in
*.cpp|*.cc) echo ' $(COMPILE.cpp) '"${o} ${c}" >> ${make_targets}
makefile_plg=Makefile.cpp-plg.in;;
- *) echo ' $(COMPILE) '"${o} ${c}" >> ${make_targets}
+ *.s|*.S) echo ' $(AS) '"${o} ${c}" >> ${make_targets};;
+ *) echo ' $(COMPILE) '"${o} ${c}" >> ${make_targets}
esac
done
rm -f ${objs} ${excluded}
More information about the Vm-dev
mailing list