Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932531AbYAaI6B (ORCPT ); Thu, 31 Jan 2008 03:58:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754715AbYAaI5w (ORCPT ); Thu, 31 Jan 2008 03:57:52 -0500 Received: from rv-out-0910.google.com ([209.85.198.184]:20661 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239AbYAaI5v (ORCPT ); Thu, 31 Jan 2008 03:57:51 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ARX6Uo4V2h1PDQUwJlWepRJpk7dUfagF9nQUcAvjYnYG4oOTzpnqXp798qEnoqFuCD/buDY8TPcHsDG7r9bjIiQdXWu5vp9IdFD96Q4MGl8qQ8q8gbpGyJLTFTUv5q1GRmikrzd3COiwlNQZ//EOoD3alsZd2iJd2FTsUT9l6Xw= Message-ID: <38b2ab8a0801310057y1e003c27tae24d6ffd2aadf0b@mail.gmail.com> Date: Thu, 31 Jan 2008 09:57:48 +0100 From: "Francis Moreau" To: "Paul Mundt" , "Francis Moreau" , linux-kernel@vger.kernel.org Subject: Re: [Kbuild] How to clean a particular directory ? In-Reply-To: <20080131085408.GA14470@linux-sh.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <38b2ab8a0801310038o2906ab68ta8893240576d806d@mail.gmail.com> <20080131084851.GB14160@linux-sh.org> <20080131085408.GA14470@linux-sh.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 867 Lines: 30 On Jan 31, 2008 9:54 AM, Paul Mundt wrote: > Makefile says: > > # Use make M=dir to specify directory of external module to build > # Old syntax make ... SUBDIRS=$PWD is still supported > # Setting the environment variable KBUILD_EXTMOD take precedence > ifdef SUBDIRS > KBUILD_EXTMOD ?= $(SUBDIRS) > endif > ifdef M > ifeq ("$(origin M)", "command line") > KBUILD_EXTMOD := $(M) > endif > endif > > so M= is apparently the newfangled (and undocumented) way of doing this. > Good catch. I tried "make help" to search for revelant info but didn't find anything useful. Thanks -- Francis -- 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/