From owner-freebsd-hackers Tue Dec 3 11:54:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20BE437B401 for ; Tue, 3 Dec 2002 11:54:26 -0800 (PST) Received: from mallard.mail.pas.earthlink.net (mallard.mail.pas.earthlink.net [207.217.120.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9F7343E9C for ; Tue, 3 Dec 2002 11:54:25 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0140.cvx22-bradley.dialup.earthlink.net ([209.179.198.140] helo=mindspring.com) by mallard.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18JJ7U-0003EM-00; Tue, 03 Dec 2002 11:54:13 -0800 Message-ID: <3DED0B95.2D2E6A30@mindspring.com> Date: Tue, 03 Dec 2002 11:52:53 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Pentchev Cc: Andrey Beresovsky , hackers@FreeBSD.ORG, Oleg Sharoiko Subject: Re: Need to override KRNLCONFDIR variable in command line of make (file /usr/src/Makefile.inc1). References: <20021203141510.D611-100000@moon.cc.rsu.ru> <20021203144918.GJ365@straylight.oblivion.bg> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Pentchev wrote: > On Tue, Dec 03, 2002 at 05:37:34PM +0300, Andrey Beresovsky wrote: > > I am developing a program which will allow me to build worlds and > > kernels for several hosts with different options (make.conf files, > > kernel configs and so on). I need to be able to override some > > variables in /usr/src/Makefile.inc1. For the moment they are defined > > with '=', and I suggest defining them with '?='. The variables I > > need to override are KRNLSRCDIR, KRNLCONFDIR, KRNLOBJDIR. I have > > sent PR (misc/45961) with patch to solve my request. > > > > Please, anyone who has a commit rights, commit this patch. > > I was wondering about that when I saw your PR; actually, I think that > the current FreeBSD kernel building infrastructure is quite sufficient > for what you want to do, without any more modifications. Don't feel bad; this is the same thing they told me when I submitted the same patch. What they really mean is that it's "sufficient for them", because they don't understand what it is you want to do. Specifically, if the kernel name isn't "GENERIC", you get screwed by sysinstall, if you make a full release CDROM. The problem is that you are talking to people who rarely make their own release CDROM's, and, when they do, they use GENERIC. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message