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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message