Closed stefanlk closed 7 months ago
I believe you will need to edit the platform configuration in the Makefile.
Open the Makefile and change CONFIG_PLATFORM_I386_PC
to n
and change CONFIG_PLATFORM_ARM_RPI
to y
. And just to be sure, run make clean
after changing those options (although this probably isn't necessary).
If the rpi is running 64bit use aarch64, its not called rpi but thats just naming. RPI defaults to 32bit i think (kernel 6.1.21-b8+ - rpi3b+)
CONFIG_PLATFORM_ARM_RPI = n
CONFIG_PLATFORM_ARM_AARCH64 = y
@stefanlk use suggestion from last comment.
when compiling on my Raspi I got following messages:
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make' all KVER=6.1.19-v7+...(bad exit status: 2) Error! Bad return status for module build on kernel: 6.1.19-v7+ (armv7l) Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
whats the problem? why does the make says architect armv7l? Shall it be arm?