All of lore.kernel.org
 help / color / mirror / Atom feed
* make headers_install: .install and ..install.cmd
@ 2008-12-14 16:31 Geert Uytterhoeven
  2008-12-15 11:31 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2008-12-14 16:31 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kbuild, Linux Kernel Development

	Hi Sam,

When I use `make ARCH=m68k INSTALL_HDR_PATH=/tmp/headers headers_install',
I get lots of `.install' and `..install.cmd' files in /tmp/headers and its
subdirectories.

I'm building the kernel in a separate output directory and run my make command
from there.

Is this intentional?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: make headers_install: .install and ..install.cmd
  2008-12-14 16:31 make headers_install: .install and ..install.cmd Geert Uytterhoeven
@ 2008-12-15 11:31 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2008-12-15 11:31 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-kbuild, Linux Kernel Development

On Sun, Dec 14, 2008 at 05:31:08PM +0100, Geert Uytterhoeven wrote:
> 	Hi Sam,
> 
> When I use `make ARCH=m68k INSTALL_HDR_PATH=/tmp/headers headers_install',
> I get lots of `.install' and `..install.cmd' files in /tmp/headers and its
> subdirectories.
> 
> I'm building the kernel in a separate output directory and run my make command
> from there.
> 
> Is this intentional?

Hi Geert.

We use the files .install and ..install.cmd to check if we need to install
the headers again or need to check them again.
And there is no other place to put them than next to the relevant files.
Otherwse we would not do the right thing when exporting to
two different directories from the same repository.

The real fix would be to speed up the install step.
Today we rely on the unifdef tool and a perl scrip for the installation.
Combining the functionality in one C file would most likely
speed up the install process to such a degree that we can do it
unconditionally and then we can get rid of the .install 
and ..install.cmd files.

But noone has written a C program to do that (yet).

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-15 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-14 16:31 make headers_install: .install and ..install.cmd Geert Uytterhoeven
2008-12-15 11:31 ` Sam Ravnborg

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.