mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Merge pull request #421 from cmorty/submodule_warn
Decent error if mspsim cant be built
This commit is contained in:
commit
4e2e119ec6
@ -26,6 +26,14 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="mspsim" depends="init">
|
<target name="mspsim" depends="init">
|
||||||
|
<fail>-
|
||||||
|
----------------
|
||||||
|
Could not find the MSPSim build file. Did you run "git submodule update --init"?
|
||||||
|
----------------
|
||||||
|
<condition><not>
|
||||||
|
<available file="${mspsim}/build.xml" />
|
||||||
|
</not></condition>
|
||||||
|
</fail>
|
||||||
<ant antfile="build.xml" dir="${mspsim}" target="jar" inheritAll="false"/>
|
<ant antfile="build.xml" dir="${mspsim}" target="jar" inheritAll="false"/>
|
||||||
<copy todir="${lib}" file="${mspsim_jar}" />
|
<copy todir="${lib}" file="${mspsim_jar}" />
|
||||||
<copy todir="${lib}" file="${mspsim}/lib/jipv6.jar" />
|
<copy todir="${lib}" file="${mspsim}/lib/jipv6.jar" />
|
||||||
|
Loading…
Reference in New Issue
Block a user