Re: kern+world / ports make options

From: Ulrich Spörlein <uqs_at_spoerlein.net>
Date: Sun, 25 Apr 2010 13:17:40 +0200
On Sat, 24.04.2010 at 16:42:37 +0000, Pegasus Mc Cleaft wrote:
> Hello Hackers & Current, 
> 
> 	I was wondering it if is possible, or if it can be done so a separate set 
> of CC, CXX, etc can be specified for building the world and kernel 
> independently of a ports build?
> 
> 	Right now, I use the base GCC to compile the world and kernel, and GCC44 
> for most of the other ports (when it complies cleanly). But I have to keep 
> editing the /etc/make.conf file to switch between the two. 
> 
> 	It may already be implemented, but it would be nice if there was 
> something defined while the kernel and/or world is being built to that a 
> nested block of ifdefs can select which env variables to be set. 

src.conf has already been mentioned, I don't use it myself but have the
following set in make.conf

.if ${.CURDIR:M*/usr/ports/*}
NOCLEANDEPENDS=	true
WRKDIRPREFIX=	/usr/obj
.include "/etc/ports.conf"
.endif

I guess you can figure it out from there ...

hth
Ulrich Spörlein
Received on Sun Apr 25 2010 - 09:17:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC