| @@ -123,7 +123,6 @@ func NewBuilder( |
|
|
| 123 |
123 |
extraCoreBuildCachePaths paths.PathList, |
| 124 |
124 |
jobs int, |
| 125 |
125 |
customBuildProperties []string, |
| 126 |
|
-hardwareDirs paths.PathList, |
| 127 |
126 |
librariesDirs paths.PathList, |
| 128 |
127 |
builtInLibrariesDirs *paths.Path, |
| 129 |
128 |
fqbn *fqbn.FQBN, |
| @@ -225,7 +224,7 @@ func NewBuilder( |
|
|
| 225 |
224 |
buildPlatform: buildPlatform, |
| 226 |
225 |
toolEnv: toolEnv, |
| 227 |
226 |
buildOptions: newBuildOptions( |
| 228 |
|
-hardwareDirs, |
|
227 |
+paths.PathList{targetPlatform.InstallDir, buildPlatform.InstallDir}, |
| 229 |
228 |
librariesDirs, |
| 230 |
229 |
builtInLibrariesDirs, |
| 231 |
230 |
buildPath, |