From owner-freebsd-hackers Tue Dec 3 7:22:32 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 3302D37B401 for ; Tue, 3 Dec 2002 07:22:31 -0800 (PST) Received: from asterix.rsu.ru (asterix.rsu.ru [195.208.245.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ADC043EAF for ; Tue, 3 Dec 2002 07:22:30 -0800 (PST) (envelope-from and@rsu.ru) Received: from moon.cc.rsu.ru (moon.cc.rsu.ru [195.208.252.124]) by asterix.rsu.ru (8.12.6/8.12.6) with ESMTP id gB3FMTkU057632; Tue, 3 Dec 2002 18:22:29 +0300 (MSK) (envelope-from and@rsu.ru) Date: Tue, 3 Dec 2002 18:22:42 +0300 (MSK) From: Andrey Beresovsky X-X-Sender: and@moon.cc.rsu.ru To: Peter Pentchev Cc: hackers@FreeBSD.ORG, Oleg Sharoiko Subject: Re: Need to override KRNLCONFDIR variable in command line of make (file /usr/src/Makefile.inc1). In-Reply-To: <20021203144918.GJ365@straylight.oblivion.bg> Message-ID: <20021203175208.M611-100000@moon.cc.rsu.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Tue, 3 Dec 2002, Peter Pentchev wrote: PP> I was wondering about that when I saw your PR; actually, I think that PP> the current FreeBSD kernel building infrastructure is quite sufficient PP> for what you want to do, without any more modifications. PP> PP> Why do you need different source trees and kernel config dirs? I see no PP> problem with keeping all kernel configs for the same version of FreeBSD PP> in the same src/sys//conf/ directory, or at least keeping symlinks PP> to different files in the same src/sys//conf/ directory. PP> PP> Different source trees - if you have a source tree checked out to use PP> for building the kernel, what is stopping you from invoking the PP> 'buildkernel' target from the corresponding src/ directory, the one PP> directly above the sys/ directory? My project involves automatic or semiautomatic checkouts, updates and removals of source trees. It would be unwise to keep kernel configs in this source trees. Thats why I need to change KRNLCONFDIR variable. Of course, I can do it with the help of links, but I think it's not a good solution. I guess the changes I suggest will definitely not break anything but only add flexibility which is typical for BSD make files. The solution with links is not a right thing, because it involves more dirty work which can be avoided with a help of simple makefile modification. --- Andrey Beresovsky. Software and Network Engineer Computer Center of Rostov State University. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message