0.4.0: builds on Zephyr 4.5 as well as 4.4
This commit is contained in:
1 parent
144efe683e
commit
db6d584807
11 files changed
+95
-14
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
# Copyright (c) 2026 Scott Penrose <scottp@dd.com.au>
|
||||
|
||||
source "Kconfig.zephyr"
|
||||
|
||||
# Before Zephyr 4.5 the ring buffer is built only with CONFIG_RING_BUFFER;
|
||||
# from 4.5 it is header-only and that option is the deprecated legacy one.
|
||||
# The module's Kconfig is not used here: the bridge has no modem node.
|
||||
config BRIDGE_KERNEL_VERSION
|
||||
hex
|
||||
default "$(KERNELVERSION)"
|
||||
|
||||
config BRIDGE_RING_BUFFER
|
||||
def_bool y
|
||||
select RING_BUFFER if BRIDGE_KERNEL_VERSION < 0x4050000
|
||||
Reference in new issue
Block a user