Backports-6.12.6

Im trying to adopt one complex patch to be used with backports-6.12.6.
Problem is that the patch creates new header (.h) file in kernel/include directory and whatever Im doing or putting patch in ../package/kernel/mac80211/patches or patching backports package and adding directly to openwrt, in the moment of creating objects files from backports it is complaining to not see objects from new .h file...

I suppose badly created or missing Module.symvers in backports...

Or maybe how to disable backports? :wink:

Create a patch in target/linux/target/patches-kernel/ to create the header file?

I have also patched 6.6.79 kernel with the patch :slight_smile:
But I guess all in mac80211 is covered by backports-6.12.6 later so it makes nonsense to do it?

No point indeed, OpenWrt uses the complete backport as its wireless stack. Allows us to stay both current and on an LTS kernel. Does require some efforts from the maintainers of course.

1 Like

Obviously :slight_smile: But maybe backports takes a copy of Module.symvers from kernel 6.6.79 to compile objects within? <- it was my first though.... But it could be stuppid, with in new patches for backports, we can add some objects and of course it would be some changes in headers files.

2nd idea is about #include guards... as something is not working in backports-6.12.6/backport-include/ or Im missing something....

ok who is the best to help here? :wink: I have one suspicion... How is .config from openwrt "translated" to .config in backports?

Please close this topic. Issues fixed somehow ...