From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755594AbYLOLab (ORCPT ); Mon, 15 Dec 2008 06:30:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751927AbYLOLaW (ORCPT ); Mon, 15 Dec 2008 06:30:22 -0500 Received: from pfepb.post.tele.dk ([195.41.46.236]:37038 "EHLO pfepb.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947AbYLOLaV (ORCPT ); Mon, 15 Dec 2008 06:30:21 -0500 Date: Mon, 15 Dec 2008 12:31:50 +0100 From: Sam Ravnborg To: Geert Uytterhoeven Cc: linux-kbuild@vger.kernel.org, Linux Kernel Development Subject: Re: make headers_install: .install and ..install.cmd Message-ID: <20081215113150.GA10911@uranus.ravnborg.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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