Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Apr 2000 17:55:50 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Reynolds~ <jreynold@sedona.ch.intel.com>
Cc:        stable@FreeBSD.org, remorse code <rone@ennui.org>, Andy Farkas <andyf@speednet.com.au>
Subject:   Re: make world failed
Message-ID:  <200004032155.RAA99605@server.baldwin.cx>
In-Reply-To: <14569.3599.275661.875138@hip186.ch.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 03-Apr-00 John Reynolds~ wrote:
> 
> [ On Tuesday, April 4, Andy Farkas wrote: ]
>> 
>> Not too bad an idea... but I have yet to figure out how you tell what
>> version of FreeBSD code is in your src/ tree!
>> 
> 
> would 
> 
>  /usr/src/sys/conf/newvers.sh
> 
> do the trick? This gets run during the compile of a kernel. Seems like a grep
> or two here and there could give you the info you needed.

No need, the source already knows what version it is.  You can just modify the
version it checks against in /usr/src/Makefile.inc based on the branch.  For
example, -current would check for uname -r < 5, and releng_4 would check for
uname -r < 4, etc.

> -Jr

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


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?200004032155.RAA99605>