From owner-freebsd-arm@FreeBSD.ORG  Wed Sep 28 07:59:33 2011
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
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 3C8C6106564A
	for <freebsd-arm@freebsd.org>; Wed, 28 Sep 2011 07:59:33 +0000 (UTC)
	(envelope-from nitw.satish@gmail.com)
Received: from sam.nabble.com (sam.nabble.com [216.139.236.26])
	by mx1.freebsd.org (Postfix) with ESMTP id 1C1D08FC19
	for <freebsd-arm@freebsd.org>; Wed, 28 Sep 2011 07:59:32 +0000 (UTC)
Received: from [192.168.236.26] (helo=sam.nabble.com)
	by sam.nabble.com with esmtp (Exim 4.72)
	(envelope-from <nitw.satish@gmail.com>) id 1R8okZ-0004HG-Jh
	for freebsd-arm@freebsd.org; Wed, 28 Sep 2011 00:40:15 -0700
Date: Wed, 28 Sep 2011 00:40:15 -0700 (PDT)
From: satish kondapalli <nitw.satish@gmail.com>
To: freebsd-arm@freebsd.org
Message-ID: <1317195615589-4848235.post@n5.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: 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 <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Sep 2011 07:59:33 -0000

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.