dahdi-linux: forward-port to 6.18 kernel APIs, fix build flags, disable OSLEC#929
Open
graysky2 wants to merge 1 commit intoopenwrt:masterfrom
Open
dahdi-linux: forward-port to 6.18 kernel APIs, fix build flags, disable OSLEC#929graysky2 wants to merge 1 commit intoopenwrt:masterfrom
graysky2 wants to merge 1 commit intoopenwrt:masterfrom
Conversation
46 tasks
…le OSLEC
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 openwrt#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 openwrt#76.[2]
* Disable OSLEC echo canceller:
- OpenWrt provides only oslec.h without echo.c implementation
- Prevents undefined oslec_* symbol failures during modpost
- Marks dahdi-echocan-oslec package as unavailable on >= 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. asterisk/dahdi-linux#93
2. asterisk/dahdi-linux#76
Signed-off-by: John Audia <therealgraysky@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintainer: no one
Compile tested: (put here arch, model, OpenWrt version) SNAPSHOT
Run tested: (put here arch, model, OpenWrt version, tests done) not run tested
Description:
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:
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 sipp: fix musl compatibility #76[2]
.
Disable OSLEC echo canceller:
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.