mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-05 13:16:13 +03:00
Trying to get linux ant build working.
This commit is contained in:
@@ -282,6 +282,10 @@
|
|||||||
<fileset file="shared/revisions.txt" />
|
<fileset file="shared/revisions.txt" />
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
|
<copy todir="linux/work">
|
||||||
|
<fileset dir="linux/dist" includes="lib/**" />
|
||||||
|
</copy>
|
||||||
|
|
||||||
<copy todir="linux/work/lib" flatten="true">
|
<copy todir="linux/work/lib" flatten="true">
|
||||||
<fileset refid="runtime.jars" />
|
<fileset refid="runtime.jars" />
|
||||||
</copy>
|
</copy>
|
||||||
@@ -290,13 +294,19 @@
|
|||||||
<param name="target.path" value="linux/work" />
|
<param name="target.path" value="linux/work" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
<copy todir="linux/work" file="linux/arduino" />
|
<copy todir="linux/work/hardware">
|
||||||
|
<fileset dir="linux/dist" includes="tools/**" />
|
||||||
|
</copy>
|
||||||
|
|
||||||
|
<chmod perm="755" file="linux/work/hardware/tools/avrdude" />
|
||||||
|
|
||||||
|
<copy todir="linux/work" file="linux/dist/arduino" />
|
||||||
<chmod perm="755" file="linux/work/arduino" />
|
<chmod perm="755" file="linux/work/arduino" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="linux-run" depends="linux-build"
|
<target name="linux-run" depends="linux-build"
|
||||||
description="Run Linux version">
|
description="Run Linux version">
|
||||||
<exec executable="./arduino" dir="linux/work" spawn="true"/>
|
<exec executable="linux/work/arduino" dir="linux/work" spawn="false"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="linux-dist" depends="linux-build"
|
<target name="linux-dist" depends="linux-build"
|
||||||
|
Reference in New Issue
Block a user