Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268452AbUIWN1P (ORCPT ); Thu, 23 Sep 2004 09:27:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268453AbUIWN1O (ORCPT ); Thu, 23 Sep 2004 09:27:14 -0400 Received: from postfix3-2.free.fr ([213.228.0.169]:29575 "EHLO postfix3-2.free.fr") by vger.kernel.org with ESMTP id S268452AbUIWN1G (ORCPT ); Thu, 23 Sep 2004 09:27:06 -0400 From: Duncan Sands To: Sam Ravnborg Subject: Re: external modules make clean doesn't do much Date: Thu, 23 Sep 2004 15:26:59 +0200 User-Agent: KMail/1.6.2 Cc: linux-kernel@vger.kernel.org References: <200408311347.52754.baldrick@free.fr> <20040831170148.GB7310@mars.ravnborg.org> In-Reply-To: <20040831170148.GB7310@mars.ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409231526.59656.baldrick@free.fr> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1683 Lines: 46 On Tuesday 31 August 2004 19:01, Sam Ravnborg wrote: > On Tue, Aug 31, 2004 at 01:47:52PM +0200, Duncan Sands wrote: > > make clean for an external module only seems to clean > > .tmp_versions: > > > > $ make clean > > make -C /lib/modules/2.6.9-rc1/build M=`pwd` clean > > make[1]: Entering directory `/home/duncan/Linux/linux-2.5' > > CLEAN /home/duncan/SpeedTouch/.tmp_versions > > make[1]: Leaving directory `/home/duncan/Linux/linux-2.5' > > $ > > > > This leaves all the .o etc files which doesn't sound right... > Nope - let me try. > > sam@mars rtl8180 $ ls *o > built-in.o r8180_if.o rtl8180.ko rtl8180.o > priv_part.o r8180_pci_init.o rtl8180.mod.o usercopy.o > sam@mars rtl8180 $ make -C ~/bk/kbuild M=$PWD clean > make: Entering directory `/home/sam/bk/kbuild' > CLEAN /home/sam/bk/external/rtl8180/.tmp_versions > make: Leaving directory `/home/sam/bk/kbuild' > sam@mars rtl8180 $ ls *o > ls: *o: No such file or directory > sam@mars rtl8180 $ cat Makefile > obj-m := rtl8180.o > rtl8180-y += r8180_if.o r8180_pci_init.o usercopy.o > rtl8180-y += priv_part.o > > > Looks to be OK here. > Please let me see the Makefile you use for SpeedTouch Hi Sam, as I mentioned in another mail, if you get to your current working directory via a symlink, then clean doesn't work properly (this was the problem I hit). Did you work out what's going on? Thanks for your help, Duncan. - 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/