Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2005 12:37:02 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        bharmaji@gmail.com
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: How to build only the modified in the driver.
Message-ID:  <20051018.123702.41876411.imp@bsdimp.com>
In-Reply-To: <67beabb0510181110s75928f6ah3825dff282da0f88@mail.gmail.com>
References:  <67beabb0510181110s75928f6ah3825dff282da0f88@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <67beabb0510181110s75928f6ah3825dff282da0f88@mail.gmail.com>
            Bharma Ji <bharmaji@gmail.com> writes:
: When I do make buildkernel conf=<my conf file>, the entire kernel seems to
: be built. Is there a way to build only the driver files that have been
: modified? I have also tried make buildkernel conf = GENERIC and modified a
: random file in one of the drivers. The entire kernel still gets built.

Yes.  make -DNO_KERNCLEAN will do that.  make -DNO_KERNDEPEND and
-DNO_KERNCONFIG may also be useful.

Warner



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