cvs commit: src/sys/conf newvers.sh

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Aug 1 10:25:27 UTC 2008


On Fri, 01 Aug 2008 12:53:48 +0300, Giorgos Keramidas <keramida at freebsd.org> wrote:
> On Wed, 16 Jul 2008 10:29:42 +0000 (UTC), Doug Barton <dougb at freebsd.org> wrote:
>> dougb       2008-07-16 10:29:42 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:        (Branch: RELENG_6)
>>     sys/conf             newvers.sh
>>   Log:
>>   SVN rev 180557 on 2008-07-16 10:29:42Z by dougb
>>
>>   MFC r179637, r179655, and r180503, the inclusion of the svnversion info
>>   for uname.
>>
>>   Revision   Changes    Path
>>   1.69.2.17  +18 -2     src/sys/conf/newvers.sh
>
> Hi Doug,
>
> Instead of trying to guess ${SRCDIR} we could let make tell us its
> value, at the last possible moment, by a patch like the one below.
> Does it look like something we should commit?
>
> %%%
> diff -r fe80b79b9f0e sys/conf/kern.post.mk
> --- a/sys/conf/kern.post.mk	Fri Aug 01 02:48:36 2008 +0000
> +++ b/sys/conf/kern.post.mk	Fri Aug 01 12:50:18 2008 +0300
> @@ -244,7 +244,7 @@
>  	${NORMAL_LINT}
>
>  vers.c: $S/conf/newvers.sh $S/sys/param.h ${SYSTEM_DEP}
> -	MAKE=${MAKE} sh $S/conf/newvers.sh ${KERN_IDENT}
> +	MAKE=${MAKE} SRCDIR=$s sh $S/conf/newvers.sh ${KERN_IDENT}

``SRCDIR=$S'' of course...  Sorry for botching the copy/paste here.



More information about the cvs-src mailing list