kernel: qca-ssdk: backport support for building as kernel module
authorRobert Marko <robimarko@gmail.com>
Tue, 23 May 2023 12:55:48 +0000 (14:55 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 23 May 2023 21:51:39 +0000 (23:51 +0200)
commit957f1ee85eb243c5c7397b1e3842a3c61a6b852f
treee511c5beaf7dc2cc8cf2c6b8311a09b53137bfd4
parent0fe5776f4a79a2b095912e258738e3203207e9dd
kernel: qca-ssdk: backport support for building as kernel module

Currently, SSDK is rather special in the sense that its not being built as
a proper out of tree module at all but rather like a userspace application
and that involves a lot of make magic which unfortunately broke with make
version 4.4 and newer.

Luckily QCA finally added a way to build SSDK as an out of tree module
and it uses the kernel buildsystem which makes it compile with make 4.4
as well.
So lets backport the support for it and switch to using it.

Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/qca-ssdk/Makefile
package/kernel/qca-ssdk/patches/0012-qca-ssdk-Support-Linux-Style-Makefile-for-SSDK.patch [new file with mode: 0644]
package/kernel/qca-ssdk/patches/0013-qca-ssdk-fix-compilation-issue-in-Linux-Style-Makefi.patch [new file with mode: 0644]
package/kernel/qca-ssdk/patches/0014-qca-ssdk-fix-compilation-issue-in-Miami-yocto.patch [new file with mode: 0644]