All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Spurious rebuilds of raid6 and drivers/media/video in 2.6.16
Date: Thu, 30 Mar 2006 22:49:45 +0200	[thread overview]
Message-ID: <442C4469.1040408@gmx.net> (raw)
In-Reply-To: <20060330202208.GA14016@mars.ravnborg.org>

Sam Ravnborg schrieb:
> On Thu, Mar 30, 2006 at 01:55:55PM +0200, Carl-Daniel Hailfinger wrote:
> 
>>Hi,
>>
>>if I copy a compiled kernel tree to another location and run
>>make again in the new directory, a few files always get rebuilt.
>>These files only are rebuilt if the tree is a copy of another
>>tree and they are rebuilt only once.
>>Any ideas why this is the case?
> 
> The reason why the predictive rebuild happens is that in some parts
> of the kbuild files it has been necessary to use absolute paths.
> One example is the oiu2c shell script where we use the full path
> to locate the shell script.
> The reason why a full path is used is that this shall also work when
> compiling the kernel using make O=...

Thanks for the information.

> So the rebuild will happen. It would be possible to minimize the places
> where a rebuild is triggered when moving the source tree, but I have not
> seen any benefit doing so lately.

Well, it would cause less confusion. It seems that ~90% of rebuilt files
are due to the following makefiles where full paths to includes are
specified:
./drivers/media/video/cx88/Makefile
./drivers/media/video/Makefile
./drivers/media/video/cx25840/Makefile
./drivers/media/video/saa7134/Makefile
./drivers/media/video/em28xx/Makefile

Any objections to fix these?


Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/

  reply	other threads:[~2006-03-30 20:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30 11:55 Spurious rebuilds of raid6 and drivers/media/video in 2.6.16 Carl-Daniel Hailfinger
2006-03-30 20:22 ` Sam Ravnborg
2006-03-30 20:49   ` Carl-Daniel Hailfinger [this message]
2006-03-31 15:22     ` Sam Ravnborg
2006-04-03 22:35       ` [PATCH] Fix unneeded rebuilds in drivers/media/video after moving source tree Carl-Daniel Hailfinger
2006-04-03 23:02         ` [PATCH] Fix unneeded rebuilds in drivers/net/chelsio " Carl-Daniel Hailfinger
2006-04-04 15:02         ` [PATCH] Fix unneeded rebuilds in drivers/media/video " Sam Ravnborg
2006-04-05 23:32           ` Carl-Daniel Hailfinger
2006-04-06  6:31             ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=442C4469.1040408@gmx.net \
    --to=c-d.hailfinger.devel.2006@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.