File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 20
20
<condition property =" platform"
21
21
value =" linux64" ><os family =" unix" arch =" amd64" /></condition >
22
22
23
+ <condition property =" arch-bits" value =" 32" >
24
+ <equals arg1=" ${ platform } " arg2=" linux32" />
25
+ </condition >
26
+ <condition property =" arch-bits" value =" 64" >
27
+ <equals arg1=" ${ platform } " arg2=" linux64" />
28
+ </condition >
29
+
23
30
<!-- Libraries required for running arduino -->
24
31
<fileset dir =" .." id =" runtime.jars" >
25
32
<include name =" core/core.jar" />
463
470
<copy todir =" linux/work" file =" linux/dist/arduino" />
464
471
<chmod perm =" 755" file =" linux/work/arduino" />
465
472
466
- <copy todir =" linux/work/hardware" >
467
- <fileset dir =" linux/dist" includes =" tools/**" />
468
- </copy >
473
+ <mkdir dir =" linux/work/hardware/tools" />
474
+ <copy file =" linux/dist/tools/adk2install" todir =" linux/work/hardware/tools" />
475
+ <copy file =" linux/dist/tools/adk2tool" todir =" linux/work/hardware/tools" />
476
+ <copy file =" linux/dist/tools/avrdude${ arch-bits } " tofile =" linux/work/hardware/tools/avrdude" />
477
+ <copy file =" linux/dist/tools/avrdude.conf" todir =" linux/work/hardware/tools" />
478
+ <copy file =" linux/dist/tools/bossac${ arch-bits } " tofile =" linux/work/hardware/tools/bossac" />
469
479
470
480
<chmod perm =" 755" file =" linux/work/hardware/tools/avrdude" />
471
481
<chmod perm =" 755" file =" linux/work/hardware/tools/bossac" />
472
- <chmod perm =" 755" file =" linux/work/hardware/tools/bossac64" />
473
482
<chmod perm =" 755" file =" linux/work/hardware/tools/adk2tool" />
474
483
<chmod perm =" 755" file =" linux/work/hardware/tools/adk2install" />
475
484
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments