Commit decd2be
committed
[temp]: Fix Micas plat_sysfs parallel build race
The plat_sysfs/Makefile lists dev_cfg and dev_sysfs as prerequisites
of 'all' but declares no ordering between them. Under make -j
(SONiC uses -j12 by default) the two subdirs can build in parallel
and the modpost step in dev_sysfs fails with:
dev_cfg/Module.symvers: No such file or directory
because dev_sysfs/Makefile's KBUILD_EXTRA_SYMBOLS references that
file. Adding 'dev_sysfs: dev_cfg' forces dev_cfg to finish first.
Temporary patch on this branch so verification builds for the SBOM
work complete reliably. Drop this commit (git rebase --onto) once
an equivalent upstream fix lands.
Signed-off-by: Brad House <bhouse@nexthop.ai>1 parent a8ba23b commit decd2be
1 file changed
Lines changed: 7 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
0 commit comments