Re: external modules make clean doesn't do much

From: Sam Ravnborg (sam_at_ravnborg.org)
Date: 08/31/04

  • Next message: Erik Mouw: "Re: Driver retries disk errors."
    Date:	Tue, 31 Aug 2004 19:01:48 +0200
    To: Duncan Sands <baldrick@free.fr>
    
    

    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

            Sam
    -
    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/


  • Next message: Erik Mouw: "Re: Driver retries disk errors."

    Relevant Pages

    • External module Makefile with generated C file
      ... I'm trying to create a external module that involves generating one of the source files needed for ... $ cat Makefile ... PWD:= $(shell pwd) ... # Files generated that shall be removed upon make clean ...
      (Linux-Kernel)
    • Re: [openib-general] Re: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation
      ... >> with the pages which permits the kernel to clean stuff up on unclean ... >> pinning of unbounded amounts of memory. ... > and clean up after it, so the pinned region in most implementations is ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] fs/fcntl.c - remove impossible <0 check in do_fcntl - arg is unsigned.
      ... > Do we have a compiler that needlessly complains again? ... able to make the header files -W clean so that I can compile individual ... But I don't think that making the entire build -W clean is worthwhile. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.11-rc2-mm1
      ... > autofs has exploded far, far beyond complete nonfunctionality, where ... Anyway, thus far ppc64 comes up clean with no patches, ia64 comes up ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch 2.6.13-rc4] fix get_user_pages bug
      ... Allow __follow_page to succeed when encountering a clean, ... the page fault handler for every clean, writeable pte it encounters ... Send instant messages to your online friends http://au.messenger.yahoo.com ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)