What change do you want to make to the kernel module code?
Rebuilding a single in tree module, requires it to match the current kernel, which can be done. With the files from the source directory.
But let’s start with what you want to change?
Some help would be appreciated....I did read, reread, rereread and thought about "create custom kernel":
https://wiki.tinycorelinux.net/doku.php?id=wiki:custom_kernelOn the one hand... this still feels miles above my skill-level.
On the other hand... "I could try"...
step1-5:
Completed, I have the full release source and patched usb-serial.c
Let's call the toplevel directory ./.
step6:
I do not understand what config file to move where.
It says "kernel config file" but I do not see that.
There is a ./kernel/configs directory which has tiny.config and tiny-base.config. Should I use those?
And where to move? to ./kernel/.config? or to ./.config?
step7-8:
In what directory should I run the make? in ./.? or ./kernel?
step 9:
I probably do not need to make the kernel itself. Do I?
well... reading step11... I probably endup with a kernel that has kext included, than I need this I guess.
step 10:
Will this than make usb-serial-6.18.2-tinycore.tcz? or will it only compile to ./usr/local/libl/modules/........?
reading step 11, I guess only compile.
step11:
Associated... or wil this create the usb-serial-6.18.2-tinycore.tcz?
mmmhh.. maybe if I understand well I endup with a kernel; that has the modules integrated... not sure about that..
---
And after that...
I have a core.gz? and vmlinuz?