Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2002 11:57:32 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Andrey Beresovsky <and@rsu.ru>
Cc:        Peter Pentchev <roam@ringlet.net>, hackers@FreeBSD.ORG, Oleg Sharoiko <os@rsu.ru>
Subject:   Re: Need to override KRNLCONFDIR variable in command line of make(file  /usr/src/Makefile.inc1).
Message-ID:  <3DED0CAC.D283E33@mindspring.com>
References:  <20021203175208.M611-100000@moon.cc.rsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey Beresovsky wrote:
> My project involves automatic or semiautomatic checkouts, updates and
> removals of source trees. It would be unwise to keep kernel configs in this
> source trees. Thats why I need to change KRNLCONFDIR variable. Of course, I
> can do it with the help of links, but I think it's not a good solution.
> 
> I guess the changes I suggest will definitely not break anything but only add
> flexibility which is typical for BSD make files.
> 
> The solution with links is not a right thing, because it involves more dirty
> work which can be avoided with a help of simple makefile modification.

I've found that a patch like yours is necessary, but I did not
change the configuration directory; instead, I changed the config
file name.

The other thing you need to do, if you do this, is to modify the
sysinstall to know the name of the kernel on the CDROM image; you
can pas this in as a "-D" on the command line, if you modify the
"release" Makefile.

This is particularly useful if you are supporting, for example, an
engineering department, or a product release image "golden master"
install CDROM, such that you can rebuild your product from source
2 years later, and get the same software (a commercial necessity
for things like embedded systems).

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DED0CAC.D283E33>