Date: Tue, 23 Sep 2003 09:32:26 -0500 From: D J Hawkey Jr <hawkeyd@visi.com> To: questions at FreeBSD <freebsd-questions@freebsd.org> Subject: Something I should know about 'make buildkernel ...', but I don't. Message-ID: <20030923143226.GA89496@sheol.localdomain>
next in thread | raw e-mail | index | archive | help
Hi All. Something's been bugging me about 'make buildkernel ...' (or pro'lly more precisely, the docs): How do I re-make the kernel without first cleaning /usr/obj/...? After applying patches, I bump $BRANCH in /sys/conf/newvers.sh, and would like the running kernel to reflect the current patchlevel, but not at the expense of a complete rebuild. Something this trivial shouldn't get me in any trouble, kernel-wise, should it? Browsing Makefile.inc1, I see these defines: -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir -DNOCLEAN do not clean at all What does 'cleandir' do that 'clean' doesn't? Remove directory trees? Anyway, is it as simple as: make buildkernel -DNOCLEAN KERNCONF=... Like I said, I should already know this. Dave -- ______________________ ______________________ \__________________ \ D. J. HAWKEY JR. / __________________/ \________________/\ hawkeyd@visi.com /\________________/ http://www.visi.com/~hawkeyd/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030923143226.GA89496>