Commit f2e3ae9
committed
lib.sh: get_ldc_subdir(): add optional platform argument to strip
This is needed by IPC4 - which generally does not use the .ldc file but
that's another debate for later; let's just get the check-sof-logger.sh
test passing again for now.
This problem wasn't found until last week when Fred cleaned up and
simplified the internal Intel deployment script. This part of the logic
has too many fallbacks so one of them was probably hiding the issue,
probably picking up some .ldc file in /etc instead.
```
── sof-ipc4
│ ├── arl
│ │ └── community
│ │ └── sof-arl.ri -> ../../mtl/community/sof-mtl.ri
│ ├── arl-s
│ │ └── community
│ │ └── sof-arl-s.ri -> ../../mtl/community/sof-mtl.ri
│ ├── mtl
│ │ └── community
│ │ └── sof-mtl.ri
│ ├── sof-arl.ldc -> sof-mtl.ldc
│ ├── sof-arl-s.ldc -> sof-mtl.ldc
│ └── sof-mtl.ldc
```
Signed-off-by: Marc Herbert <marc.herbert@intel.com>1 parent 6a55123 commit f2e3ae9
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
308 | 309 | | |
309 | 310 | | |
| 311 | + | |
310 | 312 | | |
311 | 313 | | |
312 | 314 | | |
| |||
323 | 325 | | |
324 | 326 | | |
325 | 327 | | |
| 328 | + | |
326 | 329 | | |
327 | 330 | | |
328 | 331 | | |
| |||
345 | 348 | | |
346 | 349 | | |
347 | 350 | | |
348 | | - | |
| 351 | + | |
349 | 352 | | |
350 | 353 | | |
351 | 354 | | |
| |||
0 commit comments