Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2015 01:08:25 +0530
From:      Pratik Singhal <ps06756@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Compilation taking too long time
Message-ID:  <CAGf2gkNHdoYv=_QgSMZF0gjHTcXJKJvAy69=HKPU=NgbCsT6ug@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello, I am new to freeBSD and trying to contribute to freeBSD.  I have a
small question.

Whenever I make a small change in the kernel, say apply a patch which only
affects 1 or 2 files and compile the kernel using the command :-


make KERNCONF=config_file buildkernel

It takes a lot of time (around 1 hour) and starts rebuilding the whole
kernel instead of just building the relevant files.


I have checked the freeBSD handbook and checked the targets in Makefile ,
but none of them provide information about this situation.

How, can I make sure that only the relevant files are built and not the
whole kernel again and again ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGf2gkNHdoYv=_QgSMZF0gjHTcXJKJvAy69=HKPU=NgbCsT6ug>