Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 18:04:54 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Dag-Erling =?iso-8859-15?b?U234cmdyYXY=?= <des@des.no>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ata ata-queue.c
Message-ID:  <20050517180454.brq1tjzo2s88g8ow@netchild.homeip.net>
In-Reply-To: <86ekc5ubez.fsf@xps.des.no>
References:  <200505111436.j4BEaQWP077515@repoman.freebsd.org> <42828A49.8000008@DeepCore.dk><86wtq47j97.fsf@xps.des.no> <20050512112617.482321e9@dolphin.local.net> <20050515053349.GA32205@gothmog.gr> <20050515065820.GE837@darkness.comp.waw.pl> <20050515020629.156fb85e@dolphin.local.net> <20050516195401.32b7784a@Magellan.Leidinger.net> <86vf5itaqq.fsf@xps.des.no> <20050517150415.cy3vhgx864kk8w8c@netchild.homeip.net> <86ekc5ubez.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Sm=F8rgrav <des@des.no> wrote:

> Alexander Leidinger <Alexander@Leidinger.net> writes:
>> Dag-Erling Sm=F8rgrav <des@des.no> wrote:
>> > There is no good reason to use what you call the classic way, and
>> > you're not doing anybody any favors by pretending there is.
>> What does the buildkernel way what the classic way doesn't do?
>>
>> What does the buildkernel way what the classic way doesn't do? Which ite=
m in
>> this list needs to be done to avoid some bad things to happen and which =
bad
>> things are we talking about?
>
> These questions have been answered before, many times.

And I haven't seen a technical reason why the classic way of doing it is ba=
d.
Did I missed it or do I have to say "I don't get it"?

>> If you just change one file and you want to recompile the kernel, which
>> procedure is faster?
>
> They're equally fast, though 'buildkernel' normally does 'make clean'
> and 'make depend' every time.  Use NO_KERNELCLEAN when you can get
> away with it (which is most of the time; I have it in make.conf) and
> NO_KERNELDEPEND when you know you haven't changed the dependency tree
> (i.e. when you haven't changed any #include statements).  All the
> usual tricks (KODIR, NO_MODULES, MODULES_OVERRIDE) also work.

The "equally fast, though ..." part is funny (at least to me, YMMV)...

So I have to type "make buildkernel -DNO_KERNELDEPEND" (while having
NO_KERNELCLEAN=3Dyes in make.conf) instead of "make"... sorry, but I'm too
lazy to do this (at least as long as I don't get a benefit out of using the
new way).

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID =3D 72077137
Rule the Empire through force.
=09=09-- Shogun Tokugawa




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050517180454.brq1tjzo2s88g8ow>