From owner-freebsd-hackers Fri Jun 22 22:38:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id CFC0C37B401; Fri, 22 Jun 2001 22:38:10 -0700 (PDT) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id IOR30089; Sat, 23 Jun 2001 08:38:07 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.4/8.11.4) id f5N5Ii801504; Sat, 23 Jun 2001 08:18:44 +0300 (EEST) (envelope-from netch) Date: Sat, 23 Jun 2001 08:18:44 +0300 From: Valentin Nechayev To: John Baldwin Cc: hackers@FreeBSD.ORG Subject: Re: Two Junior Kernel Hacker tasks.. Message-ID: <20010623081844.B982@iv.nn.kiev.ua> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from jhb@FreeBSD.ORG on Fri, Jun 22, 2001 at 10:52:01AM -0700 X-42: On 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 Fri, Jun 22, 2001 at 10:52:01, jhb (John Baldwin) wrote about "Two Junior Kernel Hacker tasks..": > 2) Build kernels in sys/compile/${MACHINE_ARCH}/FOO rather than sys/compile/FOO. I'd like to qualify the whole idea to put compilation data in some subdirectory of /usr/src as harmful. `make buildkernel' places it in more reasoned place (but /usr/obj/usr/src/sys/compile/i386/zzz is IMHO preferrable than current /usr/obj/usr/src/sys/zzz). Building in /usr/src/sys/compile is legacy issue which should be IMO removed, and /usr/sbin/config should require explicit way in its command line. But this is bound with another /usr/src pollutions. E.g. one cannot place kernel config in /etc and say "config /etc/kernel.config/nn12" without moving it and current directory to /usr/src/sys/i386/conf or placing symlink in it. LINT is also made in /usr/src/sys/${arch}/conf, not /etc or subdirectory of /etc. > This is very helpful when you share the same sys/ tree across several > machines with different architectures. For example, I share the same sys/ > tree via NFS across almost all my testboxes including alpha and i386. Every > time I want to compile GENERIC (I keep kernel.GENERIC up to date on my boxes) > as part of an installworld I have to go manipulate symlinks (and/or shuffle > directories around). Fixing this would make life for the non-x86 centric > types a bit easier, although there'll probably be a big bikeshed over > changing the build directory. *sigh* make buildkernel is rather easy way to work it around: in any case object tree is machine-dependent, and one yet another directory does not destroy anything. ;| /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message