From owner-freebsd-hackers Fri Dec 5 00:19:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA01132 for hackers-outgoing; Fri, 5 Dec 1997 00:19:33 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA01081 for ; Fri, 5 Dec 1997 00:19:22 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id AAA11044; Fri, 5 Dec 1997 00:18:55 -0800 (PST) Message-ID: <19971205001855.20597@hydrogen.nike.efn.org> Date: Fri, 5 Dec 1997 00:18:55 -0800 From: John-Mark Gurney To: Francisco Reyes Cc: "hackers@freebsd.org" Subject: Re: Why so many steps to build new kernel? References: <199712050750.XAA25888@super.zippo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199712050750.XAA25888@super.zippo.com>; from Francisco Reyes on Fri, Dec 05, 1997 at 02:50:07AM -0400 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Francisco Reyes scribbled this message on Dec 5: > I was wondering if there would be any problems with creating a script > for some of the steps of building a new kernel. What if any would be > the problem with having a script which does: > > config kern1 > cd ../../kern1 > make depend > make all > make install > > If such script was created it should check the return code of the > make command to make sure there were no problems. what's so hard about typing this? and how about: config kern1 && cd ../../kern1 && make depend && make all && make install also, if you get fancy, you could replace kern1 with $1.. but of course, what about when you want to pass -n to config, and -j4 to make all? it's not hard to type yourself... plus, there are to many varibles... also, make depend isn't needed if you don't config -n the kernel, (unless you do a -j4 on the kernel build)... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD