From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 11:18:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34D3816A4CE for ; Wed, 24 Nov 2004 11:18:24 +0000 (GMT) Received: from sccimhc92.asp.att.net (sccimhc92.asp.att.net [63.240.76.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1D3243D5C for ; Wed, 24 Nov 2004 11:18:23 +0000 (GMT) (envelope-from freebsd@nbritton.org) Received: from [192.168.1.10] (12-223-129-46.client.insightbb.com[12.223.129.46]) by sccimhc92.asp.att.net (sccimhc92) with ESMTP id <20041124111809i92002ad66e>; Wed, 24 Nov 2004 11:18:09 +0000 Message-ID: <41A46DF0.3000008@nbritton.org> Date: Wed, 24 Nov 2004 05:18:08 -0600 From: Nikolas Britton User-Agent: Mozilla Thunderbird 0.9 (X11/20041119) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gerard-seibert@rcn.com References: <20041124052857.85B3.GERARD-SEIBERT@rcn.com> In-Reply-To: <20041124052857.85B3.GERARD-SEIBERT@rcn.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: make arguments and buildworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 11:18:24 -0000 Gerard Seibert wrote: >I am going to do a fresh install of FreBSD 5.3 this weekend on my >computer. Immediately after the installation I want to do a buildworld >and install a custom kernel. > >My question is what special arguments should I use in the 'make.conf' >file for this project. Is it really necessary to change this file at >all? I was reading the handbook and it mentioned the 'CFLAGGS' entry and >a few others. > > I'd recommend leaving CFLAGS and COPTFLAGS alone (I've only managed to make problems when I set these), but I would change CPUTYPE to your CPU Type, options are: AMD CPU: athlon-mp, athlon-xp, athlon-4, athlon-tbird, athlon, k6-3, k6-2, k6, k5 Intel CPU: p4, p3, p2, i686, i586/mmx, i586, i486, i386 If you want to rebuild a custom kernel add this: KERNCONF=FOOBAR -------------------------------------------------------------- For your kernel config file comment out everything you don't need (make sure you have a "working" kernel b4 you buildworld), i.g: cpu I486_CPU cpu I586_CPU device eisa device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives all the SCSI Controllers etc. Don't forget to add in sound support etc. etc. --------------------------------------------------------------- then buildworld: # cvsup -g -L 2 foobar-supfile (set the cvs release tag to RELENG_5_3) # cd /usr/src # make -j2 buildworld && make -j2 buildkernel && make -j2 Installkernel && reboot test your new kernel, if it works drop down to single user mode # shutdown now # cd /usr/src # make installworld # reboot If system is still working then mergemaster # mergemaster # reboot Done. rm -r /usr/obj/* >I would welcome any feedback that is available. > >Thanks! > > >Gerard E. Seibert >gerard-seibert@rcn.com > > They couldn't hit an elephant at this dist. . . . > > - Final words of General John Sedgwick, Union Commander, d. 1864 > Killed in battle during US Civil War. > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > >