Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752635AbXA3CFW (ORCPT ); Mon, 29 Jan 2007 21:05:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752641AbXA3CFW (ORCPT ); Mon, 29 Jan 2007 21:05:22 -0500 Received: from main.gmane.org ([80.91.229.2]:51161 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752635AbXA3CFV (ORCPT ); Mon, 29 Jan 2007 21:05:21 -0500 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Ben Pfaff Subject: Re: slow module build--what am I doing wrong? Date: Mon, 29 Jan 2007 18:06:06 -0800 Message-ID: <87ejpdi7zl.fsf@blp.benpfaff.org> References: <87ps8xicsd.fsf@blp.benpfaff.org> Reply-To: blp@cs.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-24-7-50-23.hsd1.ca.comcast.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:p7oh0mAJpNj5H2l1nLo/xtixy98= Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 15 Ben Pfaff writes: > When I modify a source file or two that belong to a particular > module, and then rebuild just that module with "make > dir1/dir/module.ko" (e.g.), the build system spends a couple of > minutes grinding away on "MODPOST" operations. Am I doing > something wrong? Is there a way to avoid this? It slows down my > build-and-test cycle quite a bit. I was privately emailed a suggestion to use "make M=dir1/dir" instead of "make dir1/dir/module.ko". It helps a great deal. -- Ben Pfaff blp@cs.stanford.edu http://benpfaff.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/