From owner-freebsd-current Sun Jul 2 14: 5:28 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8E14D37B52E for ; Sun, 2 Jul 2000 14:05:24 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id PAA01965 for ; Sun, 2 Jul 2000 15:05:22 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id PAA11711 for ; Sun, 2 Jul 2000 15:05:12 -0600 (MDT) Message-Id: <200007022105.PAA11711@harmony.village.org> To: freebsd-current@FreeBSD.ORG Subject: Re: /sys hierarchy In-reply-to: Your message of "Sun, 02 Jul 2000 13:56:10 PDT." <20000702135610.G96427@dragon.nuxi.com> References: <20000702135610.G96427@dragon.nuxi.com> <200007021842.LAA10685@gndrsh.dnsmgr.net> <200007021931.NAA68723@harmony.village.org> Date: Sun, 02 Jul 2000 15:05:12 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000702135610.G96427@dragon.nuxi.com> "David O'Brien" writes: : On Sun, Jul 02, 2000 at 01:31:28PM -0600, Warner Losh wrote: : > : cd blah is currently : > : cd ../../compile/${KERNNAME} : > : it becomes : > : cd /usr/obj/`pwd`/${KERNNAME} : > : > My take on this is that it would make it slightly harder to develop : > kernel stuff in the tree. I don't like that prospect, and I think : : I agree that it is nicer to make the created headers, Makefile, etc. into : /sys/compile/ , BUT it would be better to put the .o's in /usr/obj/ to : seperate the generated binary from the [generated] source. Having the ability to do this is great (like I said for the typical buildworld case). Having the ability to turn it off is also desirable to aid in normal development. Even /usr/obj can be turned off for the normal case by setting MAKEOBJDIRPREFIX to /bogus (assuming you have no /bogus). So too should any new feature like this be. config shouldn't be modified to put things in /usr/obj/`pwd`${KERNNAME}, but instead one should use the -d feature of config in the buildkernel target to put this into /usr/obj. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message