mirror of
https://github.com/openwrt/telephony.git
synced 2026-05-31 06:51:54 +08:00
4d8d33a023
This patchset updates DAHDI 3.4.0 to build cleanly on Linux 6.18 and
modern OpenWrt toolchains. Changes include:
* Add kernel API compatibility shims:
- Provide hrtimer_init() wrapper using hrtimer_setup()
- Restore from_timer() helper
- Map del_timer*() to timer_delete*() on >= 6.15, aligning with
upstream PR #93[1].
* Replace deprecated EXTRA_CFLAGS with ccflags-y across all Kbuilds
to match upstream kernel changes and resolve build failures. Relating
to oct612x include paths using ccflags-y, aligning with upstream
PR #76.[2]
* Use out-of-tree OSLEC for Linux 6.18
* Minor Makefile adjustments for OpenWrt packaging consistency.
These changes collectively restore a complete, warning-free build of
DAHDI 3.4.0 on Linux 6.18 while preserving compatibility with existing
drivers and OpenWrt module packaging.
1. https://github.com/asterisk/dahdi-linux/issues/93
2. https://github.com/asterisk/dahdi-linux/issues/76
Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>