How to cross compile a kernel module?

Aleksandr Rybalko ray at dlink.ua
Thu Sep 29 10:12:14 UTC 2011


On Thu, 29 Sep 2011 02:56:09 -0700 (PDT)
satish kondapalli <nitw.satish at gmail.com> wrote:

>> Thanks Aleksandr,
>> After adding "MODULES_OVERRIDE" option in the  kernel config, my
>> module got compiled.
>> 
>> But every time while building my module, the entire kernel also
>> compiled. is there any better mechanism to just cross compile the
>> module with out building the entire Kernel.

To avoid recompile all things - do make KERNFAST=configname kernel.

Maybe someone also show better way to cross compile one module, but I
don't know.

>> 
>> Thanks
>> Sateesh
>> 
>> --
>> View this message in context:
>> http://freebsd.1045724.n5.nabble.com/How-to-cross-compile-a-kernel-module-tp4848235p4852474.html
>> Sent from the freebsd-arm mailing list archive at Nabble.com.
>> _______________________________________________
>> freebsd-arm at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm To
>> unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


-- 
Alexandr Rybalko <ray at dlink.ua> 
aka Alex RAY <ray at ddteam.net>


More information about the freebsd-arm mailing list