Re: [patch] to fix kernel version counter

看板DFBSD_submit作者時間21年前 (2004/11/04 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/7 (看更多)
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
文章代碼(AID): #11YKSI00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #11YKSI00 (DFBSD_submit)