Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2000 22:52:50 -0700 (PDT)
From:      Ken Keeler <kkeysler@nwlink.com>
To:        stable <freebsd-stable@FreeBSD.ORG>
Subject:   new kernel build procedure
Message-ID:  <Pine.BSF.4.21.0005082216070.564-100000@localhost>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005082216070.564-100000>