DragonFly BSD
DragonFly submit List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [patch] to fix kernel version counter


From: Michal Belczyk <diavul@xxxxxxxxxxxxx>
Date: Wed, 3 Nov 2004 21:39:03 +0100

On Wed, Nov 03, 2004 at 10:07:23AM -0800, walt wrote:
> This allows the 'version' number of the kernel to increment with
> each 'make quickkernel' :
> 
> --- src/Makefile.inc1.old       2004-11-03 09:31:00.000000000 -0800
> +++ src/Makefile.inc1   2004-11-03 09:51:08.000000000 -0800
> @@ -643,6 +643,7 @@
>                         ${KERNCONFDIR}/${_kernel}
>  .endif
>         cd ${KRNLOBJDIR}/${_kernel}; \
> +           rm -f vers.*; \
>             ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} all
>  .else
>  .if !defined(NO_KERNELCONFIG)

Here's another small fix for src/Makefile.inc1, for 'make update'
target with CVS_UPDATE defined:

Index: Makefile.inc1
===================================================================
RCS file: /home/dcvs/src/Makefile.inc1,v
retrieving revision 1.44
diff -u -r1.44 Makefile.inc1
--- Makefile.inc1	27 Oct 2004 16:34:32 -0000	1.44
+++ Makefile.inc1	1 Nov 2004 18:44:27 -0000
@@ -701,9 +701,9 @@
 .endif
 .if defined(CVS_UPDATE)
 	@echo "--------------------------------------------------------------"
-	@echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
+	@echo ">>> Updating ${.CURDIR} from cvs repository"
 	@echo "--------------------------------------------------------------"
-	cd ${.CURDIR}; cvs -q update -rRELENG_4 -P -d
+	cd ${.CURDIR}; cvs -q update -P -d
 .endif
 
 #

-- 
Michal Belczyk



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]