Re: [Kbuild] How to clean a particular directory ?
From: Francis Moreau
Date: Thu Jan 31 2008 - 03:56:31 EST
On Jan 31, 2008 9:48 AM, Paul Mundt <lethal@xxxxxxxxxxxx> wrote:
>
> 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.
>
Thanks Paul, it works fine.
--
Francis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/