16 lines
490 B
Plaintext
16 lines
490 B
Plaintext
# 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
|