From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764328AbYFHLrR (ORCPT ); Sun, 8 Jun 2008 07:47:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758801AbYFHLrI (ORCPT ); Sun, 8 Jun 2008 07:47:08 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:55304 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758419AbYFHLrH (ORCPT ); Sun, 8 Jun 2008 07:47:07 -0400 Subject: Re: [PATCH] Speed up "make headers_*" From: David Woodhouse To: Sam Ravnborg Cc: linux-kbuild , LKML , Linus Torvalds In-Reply-To: <20080608113028.GE10545@uranus.ravnborg.org> References: <20080608094730.GA30098@uranus.ravnborg.org> <1212924004.32207.498.camel@pmac.infradead.org> <20080608113028.GE10545@uranus.ravnborg.org> Content-Type: text/plain Date: Sun, 08 Jun 2008 12:47:03 +0100 Message-Id: <1212925623.32207.517.camel@pmac.infradead.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2008-06-08 at 13:30 +0200, Sam Ravnborg wrote: > I will name it ASMDIR and set it to 'y' if we shall install to asm/ That works if we can't just make the top-level Makefile set $(dst) for itself. Which perhaps we could, if we stopped it running the whole recursive installation on include/ for each arch, and instead made it run only on include/asm-$(ARCH) for each arch. And do a separate run for the other directories, of course -- probably with $(ARCH) and $(SRCARCH) set to empty or something. That also might help shave a little more time off by not repeating the export 20 times for every non-asm subdirectory. (Not that we actually _do_ repeat it, but even the make invocation and the dependency checks take time). -- dwmw2