[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANeU7QkMd_evQrJL1Otp3j3CR9FAXSXO9VOKSFmESkWPZNMkEA@mail.gmail.com>
Date: Sun, 17 Mar 2013 14:50:44 -0700
From: Christopher Li <sparse@...isli.org>
To: Michal Marek <mmarek@...e.cz>, Sam Ravnborg <sam@...nborg.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: [RFC PATCH] kbuild: avoid some unnecessary rebuild
In the current tip of git tree. If I do a allmodconfig full build, then follow
by a "make" again without changing any code in the tree.
There are some object will always get rebuild. e.g. eboot.o.
I use "make V=2", it shows that the rebuild is due to some object file
not in $(targets). I did not understand the $(targets) very well, the
Kbuild.include mention that It is likely a bug in the kbuild if that
happen.
I add them in the $(targets) and that seems avoid the unnecessary
rebuild of several objects. The second "make" has fewer output.
The clean rebuild seems works fine too.
Chris
Download attachment "kbuild-avoid-rebuild-some-object.patch" of type "application/octet-stream" (1640 bytes)
Powered by blists - more mailing lists