Commit df6065c
kernel-headers: fix modpost build in postinst, add arch tools
- Use 'make prepare' with 120s timeout to build modpost and all
required files for external module compilation. Timeout is needed
because 'make prepare' has a recursive call that creates infinite
loop in headers-only tree, but modpost is built early before the
recursion starts.
- Add verification that modpost was built successfully
- Include arch/${SRC_ARCH}/tools/ in headers package (contains .awk
scripts like gen-cpucaps.awk needed by 'make prepare' on arm64)
- Filter out excessive "overriding recipe" warnings from output
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 498ff45 commit df6065c
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
| 413 | + | |
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
| |||
534 | 535 | | |
535 | 536 | | |
536 | 537 | | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
542 | 548 | | |
543 | 549 | | |
544 | 550 | | |
545 | 551 | | |
546 | | - | |
547 | 552 | | |
548 | 553 | | |
549 | 554 | | |
| |||
0 commit comments