OpenWrt Forum Archive

Topic: Kernel compilation

The content of this topic has been archived on 9 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I was wondering whether it is possible to compile a kernel module into a package using the OpenWRT SDK or do I have to use the full buildroot?

You can use the SDK but do not forget to copy the build_mipsel/linux-<main version>-brcm

Thanks.

I have a kernel module which I have in a single .c file. Is it possible to compile this using the SDK so I can get the .o binary file to turn into a package? If so how do i go about doing this? Any help would be greatly appreciated.

The discussion might have continued from here.