Commit cfbf824
committed
patches/coreboot-4.11: fix bootblock.inc parallel build race condition
The ROMCC bootblock.inc recipe writes a dependency file via shell redirect
to $(objgenerated)/bootblock.inc.d. In a fresh parallel (-j) build, make
can schedule this before build-dirs creates the generated/ directory,
causing:
sh: EOL_librem_l1um/generated/bootblock.inc.d: No such file or directory
This was hidden by CI cache (coreboot-4.11 crossgcc and build directory
were cached), but exposed when cache was invalidated by the coreboot
module rename in the previous commit.
Add build-dirs as a prerequisite for $(objgenerated)/bootblock.inc,
matching the existing fix for assembly.inc (0073-build-race-condition-fixes.patch).
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>1 parent f9a56fa commit cfbf824
1 file changed
Lines changed: 23 additions & 0 deletions
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments