All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: Francis Moreau <francis.moro@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Kbuild] How to clean a particular directory ?
Date: Thu, 31 Jan 2008 17:48:51 +0900	[thread overview]
Message-ID: <20080131084851.GB14160@linux-sh.org> (raw)
In-Reply-To: <38b2ab8a0801310038o2906ab68ta8893240576d806d@mail.gmail.com>

On Thu, Jan 31, 2008 at 09:38:10AM +0100, Francis Moreau wrote:
> I'd like to clean a particular directory in the kernel tree.
> 
> I tried several things such as:
> 
> $ make drivers/char clean
> $ make -f scripts/Makefile.clean obj=drivers/char
> 
> But it doesn't work.
> 
> Could anybody give me  a hint ?

make SUBDIRS=drivers/char clean

should do the trick. Kbuild might have a magic incantation for it these
days, but that's the way it used to work, and still seems to.

  reply	other threads:[~2008-01-31  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  8:38 [Kbuild] How to clean a particular directory ? Francis Moreau
2008-01-31  8:48 ` Paul Mundt [this message]
2008-01-31  8:54   ` Paul Mundt
2008-01-31  8:57     ` Francis Moreau
2008-01-31  8:56   ` Francis Moreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080131084851.GB14160@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=francis.moro@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.