Commit 7ceab0b
committed
platform: simplify setting CORE_COUNT and MAX_CORE_COUNT
All normal SOF builds use Zephyr build system, so common settings
like system core count can be simply set based on Zephyr build options.
There are a few speciality builds left to build SOF without Zephyr.
Testbench, cmocka and the SOF ALSA plugin are a few such examples.
To keep these builds functional, add a simple definition of key
Zephyr definitions (like in this case MP_MAX_NUM_CPUS) to allow these
builds to use common build rules even when Zephyr definitions are not
available.
The old arch/host/Kconfig is removed. It is no longer needed and caused
confusion as it added a unconditional default to CORE_COUNT that was
used (more or less unintentionally) by some of the speciality build
targets.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent a86f371 commit 7ceab0b
2 files changed
+17
-17
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
336 | 342 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
345 | 355 | | |
346 | 356 | | |
347 | | - | |
348 | | - | |
349 | | - | |
| 357 | + | |
| 358 | + | |
350 | 359 | | |
351 | 360 | | |
352 | 361 | | |
| |||
0 commit comments