[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121209150434.GB29236@pobox.suse.cz>
Date: Sun, 9 Dec 2012 16:04:34 +0100
From: Michal Marek <mmarek@...e.cz>
To: Romain Francoise <romain@...bokech.com>
Cc: Pawel Moll <pawel.moll@....com>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kbuild: Do not remove vmlinux when cleaning external
module
On Sat, Nov 10, 2012 at 01:59:21PM +0100, Romain Francoise wrote:
> Pawel Moll <pawel.moll@....com> writes:
>
> > Since commit 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 "kbuild:
> > link of vmlinux moved to a script" make clean with M=<dir>
> > argument (so cleaning external module) removes vmlinux,
> > System.map and couple of other files from the *main* kernel
> > build directory! This not what was happening before and almost
> > certainly not what one would expect.
>
> > This patch moves makes the clean target of the script called
> > only when !KBUILD_EXTMOD.
>
> Thanks, I have the same problem and this patch fixes it.
>
> Michal, can you pick it up? It's not yet in kbuild.git, it seems.
Sorry for the delay. I applied it to kbuild.git#kbuild now, with
Cc: stable@...r.kernel.org [v3.5+]
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists