Out-of-tree module doesn't build on hardened kernel

I have packaged GitHub - lwfinger/rtw8852cu but it fails on

  • 4.19, with an error stating it needs at least 5.4.0
  • 6.1, with too many arguments to function
  • all hardened versions

I can add a version check, but I don’t know how to deal with the hardened kernel build failures

Did I forget to add a flag in the derivation? should I just skip hardened builds?

Just mark it as broken when the kernel is hardened or outside the supported version range.

1 Like

this looks correct, right ?

Looks correct at a glance.