lkml.org 
[lkml]   [2008]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kbuild: simplify module versioning procedure
Hi Peter.

On Mon, Jun 02, 2008 at 06:31:14PM +0200, Peter Oberparleiter wrote:
> This patch used to be part of the gcov patch set but is no longer
> required. kbuild simplifications might still prove useful though.
It looks like a simplification but there is actually a reason why
it is done with a temporary fil in this way.

Consider a kernel build that is being terminated with ctrl-c
in the middle. If we when ctrl-c are hit are doing the final
steps of genksyms then we will next time we type make
consider all done and we will not redo the modversioning
part of the rule because we have an updated .o file.

We have this issue in other places in the build system but
I have not audited the use of redirects yet.

But applying your patch would introduce yet another place where we
have such an issue and we want to get rid of the spots
where hitting ctrl-c can leave us with an inconsistent build.

So I will not apply this patch.

Sam


\
 
 \ /
  Last update: 2008-06-05 14:19    [W:1.064 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site