Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 22:10:30 -0700
From:      Darren Pilgrim <dmp@pantherdragon.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Make option to get `make kernel` to install to /kernel.foo?
Message-ID:  <3D437CC6.E18C5303@pantherdragon.org>
References:  <3D436F34.D08857E8@pantherdragon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Darren Pilgrim wrote:
> 
> I'm working on a checklist for make world, part of which is building
> and installing two kernels (GENERIC and a custom) to shorten the amount
> of delay (I can build both kernels in parallel) in getting the machine
> back online after a buildworld.  The idea is to build both, try the
> custom kernel first, then fall back to GENERIC, then the old version
> kernel.  For the GENERIC make kernel instance, what do I add to the
> command-line to make make install the kernel as /kernel.GENERIC?  Will
> "-EKERNEL=/kernel.GENERIC" do it, or do I need to do something like
> `KERNEL=/kernel.GENERIC && make kernel ...`?  I know I can just add
> "kernel=kernel.GENERIC" to /sys/i386/conf/GENERIC, but it creates
> another step in the whole process.

Okay, neither worked.  I had the wrong variable entirely.  The correct
incantion in this case is:

INSTKERNAME="kernel.GENERIC" make kernel

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?3D437CC6.E18C5303>