Commit 75f6782
committed
Fix build system regressions
This commit consolidates multiple build system fixes:
1. DTB compilation regression
- Fixed unconditional DTB build in user-space mode
- Fixed WebAssembly build missing DTB dependencies
- Fixed DTB not being built on macOS-arm64 for SYSTEM mode
2. Makefile syntax error
- Fixed TAB characters before $(warning) in mk/toolchain.mk
- This prevented entire Makefile from parsing correctly
3. emcc configuration pollution
- Fixed .config persistence causing ENABLE_SYSTEM=1 to leak
- Added distclean before emcc builds to ensure clean state
4. Ubuntu ARM64 apt-get failures
- Exponential backoff: 30s, 60s delays (mirror sync needs time)
- Detect "Mirror sync in progress" in addition to fetch failures
- Fallback with --fix-broken install if apt install fails
- Reduced retries from 5 to 3 (longer delays are more effective)1 parent 2cc7b01 commit 75f6782
4 files changed
+67
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | | - | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
304 | | - | |
305 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
306 | 327 | | |
307 | 328 | | |
308 | 329 | | |
| |||
311 | 332 | | |
312 | 333 | | |
313 | 334 | | |
314 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
315 | 346 | | |
316 | 347 | | |
317 | 348 | | |
| |||
435 | 466 | | |
436 | 467 | | |
437 | 468 | | |
| 469 | + | |
438 | 470 | | |
439 | 471 | | |
440 | 472 | | |
441 | 473 | | |
442 | 474 | | |
443 | 475 | | |
444 | 476 | | |
445 | | - | |
| 477 | + | |
446 | 478 | | |
447 | 479 | | |
448 | 480 | | |
| |||
499 | 531 | | |
500 | 532 | | |
501 | 533 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
510 | 542 | | |
511 | 543 | | |
512 | 544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
0 commit comments