I need to build this wifi driver for Apine 3.12 x86_64.I install gcc and linux headers by this commands:
apk add --update alpine-sdk linux-headers
But when I tried to build the module it was failed and returned this error:
localhost:~/rtl8188eus# make allmake ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.43-1-lts/build M=/root/rtl8188eus modulesmake[1]: *** /lib/modules/5.4.43-1-lts/build: No such file or directory. Stop.make: *** [Makefile:1911: modules] Error 2
It seams kernel headers in Alpine has completely different structure with other dsitros. I searched to find a another package for kernel headers but I couldn't found any install-able package except linux-headers
.
If anybody has experience in compiling mods (specially drivers) in Alpine Linux please describe it step by step.