Skip to content

Commit 2e8e135

Browse files
tbitcsoz-agent
andcommitted
fix(zephyr): update module CMake guard from CONFIG_ZPROJ to CONFIG_ARBITER
The module CMakeLists still guarded library/include registration on legacy CONFIG_ZPROJ, so enabling CONFIG_ARBITER did not add include/ or runtime sources. Switch guards to CONFIG_ARBITER. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 5fa423b commit 2e8e135

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: MIT
22

3-
if(CONFIG_ZPROJ)
3+
if(CONFIG_ARBITER)
44
zephyr_library()
55
zephyr_library_sources(
66
lib/ARBITER_engine.c
@@ -19,5 +19,5 @@ if(CONFIG_ZPROJ)
1919

2020
zephyr_include_directories(include)
2121

22-
add_subdirectory_ifdef(CONFIG_ZPROJ subsys/arbiter)
22+
add_subdirectory_ifdef(CONFIG_ARBITER subsys/arbiter)
2323
endif()

LEDGER.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Ledger
22

3+
## 2026-05-31T23:39 — Fix Zephyr module CMake guard
4+
- **Author**: Oz
5+
- **Type**: fix
6+
- **REQs affected**: REQ-BUILD-001, REQ-ARCH-016
7+
- **Summary**: Updated root `CMakeLists.txt` guards from legacy
8+
`CONFIG_ZPROJ` to `CONFIG_ARBITER`. This ensures the module library,
9+
`include/` path, runtime sources, and `subsys/arbiter` integration are
10+
actually registered when tests and samples set `CONFIG_ARBITER=y`.
11+
- **Status**: complete
12+
313
## 2026-05-31T23:28 — Fix Zephyr Kconfig root symbol
414
- **Author**: Oz
515
- **Type**: fix

0 commit comments

Comments
 (0)