Skip to content

Commit b514ef6

Browse files
committed
zephyr: adapt to SOF not being a zephyr module
Adapt code to work with SOF not being a module in Zephyr. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 44288b6 commit b514ef6

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

app/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
CONFIG_SOF=y
21
CONFIG_BUILD_OUTPUT_BIN=n
32

43
# The additional stripped .elf files are deterministic.

src/arch/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
config CORE_COUNT
66
int
7-
default 1
7+
default MP_MAX_NUM_CPUS
88
help
99
Number of used cores

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ manifest:
4343

4444
- name: zephyr
4545
repo-path: zephyr
46-
revision: e876dee6f2e78788e983385de231eab50e1db543
46+
revision: pull/97946/head
4747
remote: zephyrproject
4848

4949
# Import some projects listed in zephyr/west.yml@revision

zephyr/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# compile every Zephyr module that can be found. See
33
# sof/zephyr/module.yml and
44
# https://docs.zephyrproject.org/latest/develop/modules.html
5-
if(CONFIG_SOF)
6-
75
if(CONFIG_ZEPHYR_POSIX)
86
set(ARCH host)
97
set(PLATFORM "posix")
@@ -554,5 +552,3 @@ include(../scripts/cmake/uuid-registry.cmake)
554552

555553
# Create Trace realtive file paths
556554
sof_append_relative_path_definitions(modules_sof)
557-
558-
endif() # CONFIG_SOF

zephyr/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
if SOF
2-
31
config SOF_STAGING
42
bool "Enable SOF staging features and modules"
53
help
@@ -166,5 +164,3 @@ config STACK_SIZE_IPC_TX
166164
default 2048
167165
help
168166
IPC sender work-queue thread stack size. Keep a power of 2.
169-
170-
endif

0 commit comments

Comments
 (0)