Merge pull request #421 from cmorty/submodule_warn

Decent error if mspsim cant be built
This commit is contained in:
Adam Dunkels 2013-11-14 12:26:42 -08:00
commit 4e2e119ec6

View File

@ -26,6 +26,14 @@
</target>
<target name="mspsim" depends="init">
<fail>-
----------------
Could not find the MSPSim build file. Did you run &quot;git submodule update --init&quot;?
----------------
<condition><not>
<available file="${mspsim}/build.xml" />
</not></condition>
</fail>
<ant antfile="build.xml" dir="${mspsim}" target="jar" inheritAll="false"/>
<copy todir="${lib}" file="${mspsim_jar}" />
<copy todir="${lib}" file="${mspsim}/lib/jipv6.jar" />