Subject: Re: compiling netbsd-3.0 kernel source
To: Prasanta Sadhukhan <Prasanta.Sadhukhan@Sun.COM>
From: Lubomir Kundrak <lkundrak@redhat.com>
List: netbsd-help
Date: 11/08/2006 14:52:55
Hi Prasanta!

On St, 2006-11-08 at 16:51 +0530, Prasanta Sadhukhan wrote:
> Hi,
> 
> I have taken netbsd 3.0 source from 
> ftp://ftp.netbsd.org/pub/NetBSD-archive/NetBSD-3.0/source/sets/syssrc.tgz
> and downloaded in RHLinux9.0 kernel 2.6.13
> 
> I want to compile the kernel from the source.
> According to
> http://netbsd.org/Documentation/kernel/#downloading_kernel_source
> I need to use "build.sh kernel=<MYCONF>" to build.
> I copied usr/src/sys/arch/i386/conf/GENERIC as MYCONF
> but I could not find build.sh in usr/src
> 
> Can anyone tell me how can I compile this 3.0 kernel
> source?

In case you cross-compile, you need all *.tgz files, and you'll find
build.sh in top level. It is because you need to build the whole
tool-chain. I do not know why did you choose to crosscompile on Red Hat
Linux, but I recommend you to do a native build on NetBSD instead.

> Thx in advance
> Regards
> Prasanta
> 

Best Regards,
-- 
Lubomir Kundrak (Red Hat Security Response Team)