Skip site navigation (1)Skip section navigation (2)
Date:      02 Sep 2002 19:12:40 -0400
From:      David Magda <dmagda@number6.dyndns.org>
To:        Kent Stewart <kstewart@owt.com>
Cc:        "David W. Chapman Jr." <dwcjr@inethouston.net>, Joseph <mystical@houston.rr.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: make kernel "KERNCONF" ignored?
Message-ID:  <86n0r0nfyv.fsf@number6.magda.ca>
In-Reply-To: <3D73E9D1.5000603@owt.com>
References:  <1030985369.15461.6.camel@obst> <20020902204552.GB978@houston.rr.com> <20020902213732.GA80617@leviathan.inethouston.net> <3D73E9D1.5000603@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent Stewart <kstewart@owt.com> writes:

> That is the reason I have shell scripts that build everything. I may
> make a mistake typing the script name but I found out really fast that
> I did. I don't get to the end of the process and find all of my
> logging or etc. when to /dev/null. I log (tee) everything during the
> build and install and I don't make errors this way.

You can define KERNCONF in /etc/make.conf.

What I have is the line:
        KERNCONF?=      MYKERNELC
        
This way if I don't specify anything on the command line the value
MYKERNELC is used. If I do define it on the command line, the value
in /etc/make.conf is ignored. 

I hardly change my setup on my one box so it's very convenient. If
you multiple setups that you compile on one box, or change/rename
things frequently this isn't as useful.

-- 
David Magda <dmagda at ee.ryerson.ca>
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well 
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI

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?86n0r0nfyv.fsf>