Commit 95f5897
committed
zephyr: stop using CONFIG_SOF to identify Zephyr build
Prepare for change in Zephyr to drop SOF module from the upstream
Zephyr manifest. Remove use of CONFIG_SOF which is defined in
work/zephyr/modules/Kconfig.sof, but will now be removed.
Fix this by using CONFIG_ZEPHYR_SOF_MODULE instead. This is defined
by the Zephyr build system when using the work/sof/west.yml for
building SOF. If SOF is built without Zephyr (e.g. testbench or cmocka
build), this define will not be set.
After this change, one must use the SOF work/sof/west.yml manifest
to build SOF with Zephyr. This is used by all public instructions
and CI jobs already.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent a86f371 commit 95f5897
3 files changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
| 558 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
166 | 164 | | |
167 | 165 | | |
168 | 166 | | |
169 | | - | |
170 | | - | |
0 commit comments