From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 16 20:46:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 387491065674 for ; Sat, 16 Aug 2008 20:46:04 +0000 (UTC) (envelope-from rfrench@freebsd.org) Received: from oberon.wxnz.net (oberon.wxnz.net [58.28.6.13]) by mx1.freebsd.org (Postfix) with ESMTP id E7FDA8FC13 for ; Sat, 16 Aug 2008 20:46:03 +0000 (UTC) (envelope-from rfrench@freebsd.org) Received: from mini-tank.local (ip-58-28-152-154.static-xdsl.xnet.co.nz [58.28.152.154]) by oberon.wxnz.net (Postfix) with ESMTP id C7E512BBF64; Sun, 17 Aug 2008 08:49:19 +1200 (NZST) From: Ryan French To: Roman Divacky Date: Sun, 17 Aug 2008 08:46:01 +1200 User-Agent: KMail/1.9.9 References: <200808162210.02467.rfrench@freebsd.org> <20080816103309.GA22394@freebsd.org> In-Reply-To: <20080816103309.GA22394@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808170846.01379.rfrench@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Building custom kernel with new files X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 20:46:04 -0000 On Sat, 16 Aug 2008 10:33:09 pm you wrote: > On Sat, Aug 16, 2008 at 10:10:02PM +1200, Ryan French wrote: > > Hi All, > > > > I am currently trying to build a custom kernel for my Google Summer of > > Code, and am running into a bit of a problem. I have all of my code > > compiling, but when I get to the linking stage as soon as it comes to the > > new files I have installed it says the *.o does not exist. I have added > > the files to /conf/files, and well as added the files to /conf/options > > and /conf/NOTES, and the option is set in my Makefile for the kernel. Is > > there another step I need to do before I can build the kernel? > > how do you build the kernel? adding to conf/files and conf/options should > be sufficient... I build the file using make buildkernel KERNCONF=MPLSKERNEL while in the /usr/src/ directory.