mirror of https://github.com/ARMmbed/mbed-os.git
When constructing a toolchain for export, we currently set the `build_dir` to the `export_dir`. When exporting offline, the `export_dir` is always set to the root of the project. The toolchains ignore their `build_dir` when scanning for sorces, so when the exporters use the toolchains to scan for their resources, they get nothing. In this patch we set the `build_dir` of the toolchain that the exports use to nothing. A path of nothing should not match anything, and will therefore not ignore everything when scanning for resources. |
||
|---|---|---|
| .. | ||
| .cproject.tmpl | ||
| .project.tmpl | ||
| NOTES.md | ||
| __init__.py | ||
| makefile.targets.tmpl | ||