Re: [Kbuild] How to clean a particular directory ?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Francis Moreau <francis.moro@...>, <linux-kernel@...>
Date: Thursday, January 31, 2008 - 4:54 am

On Thu, Jan 31, 2008 at 05:48:51PM +0900, 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.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Kbuild] How to clean a particular directory ?, Francis Moreau, (Thu Jan 31, 4:38 am)
Re: [Kbuild] How to clean a particular directory ?, Paul Mundt, (Thu Jan 31, 4:48 am)
Re: [Kbuild] How to clean a particular directory ?, Francis Moreau, (Thu Jan 31, 4:56 am)
Re: [Kbuild] How to clean a particular directory ?, Paul Mundt, (Thu Jan 31, 4:54 am)
Re: [Kbuild] How to clean a particular directory ?, Francis Moreau, (Thu Jan 31, 4:57 am)