|
1 |
| -@echo off |
| 1 | +@if "%echo_on%" == "" @echo off |
2 | 2 | setlocal enableextensions disabledelayedexpansion
|
3 | 3 |
|
4 | 4 | :: Parse options
|
@@ -26,9 +26,8 @@ md nupkg\build\native\include
|
26 | 26 | md nupkg\build\native\source
|
27 | 27 | md nupkg\build\native\lib
|
28 | 28 |
|
29 |
| -set arduinoSDKSources=..\Arduino\hardware\arduino\cores\arduino |
| 29 | +set arduinoSDKSources=..\Arduino\hardware\arduino\avr\cores\arduino |
30 | 30 | set arduinoLibrarySources=..\Arduino\libraries
|
31 |
| -set arduinoVariantsSources=..\Arduino\hardware\arduino\variants |
32 | 31 |
|
33 | 32 | if not exist %arduinoSDKSources%\Print.h (
|
34 | 33 | echo The Arduino sources are not checked out. checking them out
|
@@ -58,17 +57,16 @@ copy %arduinoSDKSources%\Stream.h nupkg\build\native\include /y || goto err
|
58 | 57 | copy %arduinoSDKSources%\WCharacter.h nupkg\build\native\include /y || goto err
|
59 | 58 | copy %arduinoSDKSources%\WString.h nupkg\build\native\include /y || goto err
|
60 | 59 | copy %arduinoSDKSources%\Udp.h nupkg\build\native\include /y || goto err
|
61 |
| -copy %arduinoLibrarySources%\LiquidCrystal\LiquidCrystal.h nupkg\build\native\include /y || goto err |
62 |
| -copy %arduinoLibrarySources%\Stepper\Stepper.h nupkg\build\native\include /y || goto err |
63 |
| -copy %arduinoVariantsSources%\standard\pins_arduino.h nupkg\build\native\include /y || goto err |
| 60 | +copy %arduinoLibrarySources%\LiquidCrystal\src\LiquidCrystal.h nupkg\build\native\include /y || goto err |
| 61 | +copy %arduinoLibrarySources%\Stepper\src\Stepper.h nupkg\build\native\include /y || goto err |
64 | 62 |
|
65 | 63 | if exist *.cpp (copy *.cpp nupkg\build\native\source /y) || goto err
|
66 | 64 | copy %arduinoSDKSources%\IPAddress.cpp nupkg\build\native\source /y || goto err
|
67 | 65 | copy %arduinoSDKSources%\Print.cpp nupkg\build\native\source /y || goto err
|
68 | 66 | copy %arduinoSDKSources%\Stream.cpp nupkg\build\native\source /y || goto err
|
69 | 67 | copy %arduinoSDKSources%\WString.cpp nupkg\build\native\source /y || goto err
|
70 |
| -copy %arduinoLibrarySources%\LiquidCrystal\LiquidCrystal.cpp nupkg\build\native\source /y || goto err |
71 |
| -copy %arduinoLibrarySources%\Stepper\Stepper.cpp nupkg\build\native\source /y || goto err |
| 68 | +copy %arduinoLibrarySources%\LiquidCrystal\src\LiquidCrystal.cpp nupkg\build\native\source /y || goto err |
| 69 | +copy %arduinoLibrarySources%\Stepper\src\Stepper.cpp nupkg\build\native\source /y || goto err |
72 | 70 |
|
73 | 71 | copy ..\license.txt nupkg /y || goto err
|
74 | 72 | copy ..\notices.txt nupkg /y || goto err
|
|
0 commit comments