$ tce-load -wi compiletc perl5 bash ncursesw-dev bc glibc_apps elfutils-dev gettext http://repo.tinycorelinux.net/14.x/x86_64/release/src/kernel/linux-6.1.2-patched.txz http://repo.tinycorelinux.net/14.x/x86_64/release/src/kernel/config-6.1.2-tinycore64 http://repo.tinycorelinux.net/14.x/x86_64/tcz/wireless-6.1.2-tinycore64.tcz https://patchwork.kernel.org/project/linux-wireless/patch/20221230200747.19040-1-nbd@nbd.name/ $ cd linux-6.1.2 $ cp /path/to/config-6.1.2-tinycore64 ./.config $ patch -p1 < /path/to/mac80211.patch $ make oldconfig $ make menuconfig -> just exit the menu $ make modules_prepare $ make M=net/mac80211 modules -> payload is mac80211.ko $ gzip mac80211.ko $ unsquashfs wireless-6.1.2-tinycore64.tcz -> replace mac80211.gz with the one we just made $ mksquashfs squashfs-root/ wireless-mac80211fix-6.1.2-tinycore64.tcz