Commit 2e89bf7
committed
bootstrap: Ensure host documentation is built before tarball is created
`run_default_doc_steps()` is called to ensure the documentation is built
by `Docs::run()` and it should build the documentation if it isn't
already built.
When running the `install src` command I'm seeing failures as the
`builder.doc_out(host)` directory does not exist. This is because
`match_paths_to_steps_and_run()` doesn't actually build any
documentation as the `paths.is_empty()` causes an early return. This
results in install failures as the `*/doc` src directory doesn't exist.
This patch passes the paths to `run_host_step_descriptions()` when building
documentation to ensure it is correctly built.
This fixes installing the Rust source code in OpenEmbedded.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>1 parent 4586feb commit 2e89bf7
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1117 | 1117 | | |
1118 | 1118 | | |
1119 | 1119 | | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
1120 | 1125 | | |
1121 | 1126 | | |
1122 | 1127 | | |
| |||
0 commit comments