From owner-freebsd-stable Mon May 8 22:47:58 2000 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by hub.freebsd.org (Postfix) with ESMTP id BC40837BA75 for ; Mon, 8 May 2000 22:47:51 -0700 (PDT) (envelope-from kkeysler@nwlink.com) Received: from fargo.caldonia.net (ip45.usr7.usw.du.nwlink.com [209.20.138.45]) by smtp.nwlink.com (8.9.3/8.9.3) with ESMTP id WAA04032 for ; Mon, 8 May 2000 22:47:49 -0700 (PDT) Date: Mon, 8 May 2000 22:52:50 -0700 (PDT) From: Ken Keeler X-Sender: kkeysler@localhost To: stable Subject: new kernel build procedure Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was playing around with a couple of my new 4.0 stable machines tonight and discovered if /usr/obj is deleted the new make buildkernel installkernel process fails. /usr/src# make buildkernel KERNEL=KKERNEL -------------------------------------------------------------- >>> Rebuilding kernel(s) -------------------------------------------------------------- ===> KKERNEL cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -r -d /usr/obj/usr/src/sys/KKERNEL KKERNEL config: /usr/obj/usr/src/sys/KKERNEL: No such file or directory *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. The "old" way still works however. (using config) I bring this up since there has been some discussion as to the correct process. Is there a way to change the path once /usr/obj has been rm'd? I looked in /usr/src/Makefile but did not see an obvious way to change the path. E=mc^2 student 1 each Ken Keeler Phi Theta Kappa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message