From owner-freebsd-arch Sun Jul 16 1:24:38 2000 Delivered-To: freebsd-arch@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 7451037B6DB; Sun, 16 Jul 2000 01:24:36 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 53D1EDE3; Sun, 16 Jul 2000 01:24:34 -0700 (PDT) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id BAA17605; Sun, 16 Jul 2000 01:24:32 -0700 (PDT) Message-ID: <3971713D.AF57BB53@cup.hp.com> Date: Sun, 16 Jul 2000 01:24:29 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lehey Cc: Alfred Perlstein , arch@FreeBSD.ORG, marcel@FreeBSD.ORG Subject: Re: I'm fixing the build/install kernel target References: <20000714165105.O25571@fw.wintelcom.net> <20000714172250.P25571@fw.wintelcom.net> <20000716135232.Q57098@wantadilla.lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > > Here's what I think would make sense: > > 1. Allow "make buildkernel" and "make installkernel" in /usr/src with > no options. The results should be identical with the "make all" > and "make install" in /usr/src/sys/compile/MYKERNEL, where > MYKERNEL is the name of the currently running kernel. The rule in > /usr/src can get the name from uname(1). I don't think we should do this. Having a default of GENERIC, optionally overridable by the user, is more "stable" then trying uname. Especially in the light of upgrades where GENERIC is guaranteed to build, this makes sense. > 2. Call the resultant kernel "kernel", not "MYKERNEL". This is what > we're used to, and peter recently went to some trouble to remove > arbitrary kernel names. Agreed. > 3. Put the build directory in the /usr/obj hierarchy, not the > /usr/src/sys/compile hierarchy. That would (help) enable > read-only /usr/src. Agreed. The above implies, IMO, that we don't add support for installing multiple kernels (and their corresponding modules, however we may want to do that). -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message