Date: Fri, 1 Feb 2013 08:44:13 -0700 From: Warner Losh <imp@bsdimp.com> To: Sergey Kandaurov <pluknet@gmail.com> Cc: freebsd-stable <freebsd-stable@freebsd.org>, Warner Losh <imp@freebsd.org> Subject: Re: svn commit: r200596 - head Message-ID: <A151DD8E-6772-4716-9270-DED8A24731AB@bsdimp.com> In-Reply-To: <CAE-mSOK82Wwh6aRz5-6tqH0r9j8U6_majxKOHfJ5%2BJkvwg0_6A@mail.gmail.com> References: <200912160254.nBG2sYLP082659@svn.freebsd.org> <CAE-mSOK82Wwh6aRz5-6tqH0r9j8U6_majxKOHfJ5%2BJkvwg0_6A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 1, 2013, at 8:37 AM, Sergey Kandaurov wrote: > On 16 December 2009 05:54, Warner Losh <imp@freebsd.org> wrote: >> Author: imp >> Date: Wed Dec 16 02:54:34 2009 >> New Revision: 200596 >> URL: http://svn.freebsd.org/changeset/base/200596 >>=20 >> Log: >> Add NO_KERNELOBJ flag, similar to NO_KERNEL{CONFIG,DEPEND,CLEAN}, >> which disables doing a make obj. Use it when you know it will work >> only. KERNFAST now implies NO_KERNELOBJ, since you don't need to = keep >> doing obj when doing incremental kernel builds. >=20 > Hi. > Would you mind if I merge this to stable/8? Be my guest. Warner >> Modified: >> head/Makefile.inc1 >>=20 >> Modified: head/Makefile.inc1 >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- head/Makefile.inc1 Wed Dec 16 02:52:33 2009 (r200595) >> +++ head/Makefile.inc1 Wed Dec 16 02:54:34 2009 (r200596) >> @@ -5,10 +5,11 @@ >> # -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir >> # -DNO_CLEAN do not clean at all >> # -DNO_SHARE do not go into share subdir >> -# -DKERNFAST define NO_KERNELCONFIG, NO_KERNELCLEAN and = NO_KERNELDEPEND >> +# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ} >> # -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel >> # -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} = buildkernel >> # -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} = buildkernel >> +# -DNO_KERNELOBJ do not run ${MAKE} obj in ${MAKE} buildkernel >> # -DNO_PORTSUPDATE do not update ports in ${MAKE} update >> # -DNO_DOCUPDATE do not update doc in ${MAKE} update >> # -DNO_CTF do not run the DTrace CTF conversion tools on built = objects >> @@ -694,6 +695,7 @@ distrib-dirs distribution: >> NO_KERNELCLEAN=3D t >> NO_KERNELCONFIG=3D t >> NO_KERNELDEPEND=3D t >> +NO_KERNELOBJ=3D t >> # Shortcut for KERNCONF=3DBlah -DKERNFAST is now KERNFAST=3DBlah >> .if !defined(KERNCONF) && ${KERNFAST} !=3D "1" >> KERNCONF=3D${KERNFAST} >> @@ -763,11 +765,13 @@ buildkernel: >> @echo = "--------------------------------------------------------------" >> cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} ${CLEANDIR} >> .endif >> +.if !defined(NO_KERNELOBJ) >> @echo >> @echo = "--------------------------------------------------------------" >> @echo ">>> stage 2.2: rebuilding the object tree" >> @echo = "--------------------------------------------------------------" >> cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} obj >> +.endif >> @echo >> @echo = "--------------------------------------------------------------" >> @echo ">>> stage 2.3: build tools" >> _______________________________________________ >> svn-src-all@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/svn-src-all >> To unsubscribe, send any mail to = "svn-src-all-unsubscribe@freebsd.org" >=20 >=20 >=20 > --=20 > wbr, > pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A151DD8E-6772-4716-9270-DED8A24731AB>