Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2011 13:34:48 +0300
From:      Aleksandr Rybalko <ray@dlink.ua>
To:        satish kondapalli <nitw.satish@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: How to cross compile a  kernel module?
Message-ID:  <20110928133448.65441459.ray@dlink.ua>
In-Reply-To: <1317195615589-4848235.post@n5.nabble.com>
References:  <1317195615589-4848235.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Sep 2011 00:40:15 -0700 (PDT)
satish kondapalli <nitw.satish@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm To
>> unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"

Hi,

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110928133448.65441459.ray>