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:52:58 +0000 (23:52 +0200)
commit4a6847ce4e4a8034738484a0ff4cb012fa1b295e
tree92121d70e450de1983bec682e8c1e488f5edb805
parent7df43979d102fac7b4f5ca519512c601709aac3b
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>
(cherry picked from commit 957f1ee85eb243c5c7397b1e3842a3c61a6b852f)
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]