From owner-freebsd-arm@FreeBSD.ORG Wed Sep 28 10:34:06 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B553D106566C for ; Wed, 28 Sep 2011 10:34:06 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 751268FC17 for ; Wed, 28 Sep 2011 10:34:06 +0000 (UTC) Received: from [192.168.99.1] (helo=terran.dlink.ua) by dlink.ua with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1R8rSm-000259-6M; Wed, 28 Sep 2011 13:34:04 +0300 Date: Wed, 28 Sep 2011 13:34:48 +0300 From: Aleksandr Rybalko To: satish kondapalli Message-Id: <20110928133448.65441459.ray@dlink.ua> In-Reply-To: <1317195615589-4848235.post@n5.nabble.com> References: <1317195615589-4848235.post@n5.nabble.com> Organization: D-Link X-Mailer: Sylpheed 2.7.1 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: How to cross compile a kernel module? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 10:34:06 -0000 On Wed, 28 Sep 2011 00:40:15 -0700 (PDT) satish kondapalli 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 aka Alex RAY