How to cross compile a kernel module?

Aleksandr Rybalko ray at dlink.ua
Wed Sep 28 10:34:06 UTC 2011


On Wed, 28 Sep 2011 00:40:15 -0700 (PDT)
satish kondapalli <nitw.satish at gmail.com> wrote:

>> Hi,
>> 
>> I have written one simple character module which works on x86
>> FreeBSD. Now I want to do a cross compilation  for arm. 
>> 
>> For my arm board I am able to build the kernel and file system  with
>> the "make buildworld/installworld/buildkernel/installkernel ...."
>> commands.
>> 
>> Please tell me how to cross compile a simple module for arm.
>> 
>> Thanks
>> Sateesh
>> 
>> 
>> --
>> View this message in context:
>> http://freebsd.1045724.n5.nabble.com/How-to-cross-compile-a-kernel-module-tp4848235p4848235.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"

Hi,

add 
makeoptions       MODULES_OVERRIDE="module1 module2"
into kernel config file.

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


More information about the freebsd-arm mailing list