linux-um archives
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Himanshu Raj <hraj@us.ibm.com>
Subject: Re: [uml-devel] make mrproper leaves some files around ....
Date: Fri, 13 Aug 2004 23:09:50 +0200	[thread overview]
Message-ID: <200408132309.50015.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <200407222012.25767.blaisorblade_spam@yahoo.it>

Alle 20:12, giovedì 22 luglio 2004, BlaisorBlade ha scritto:
> Alle 23:48, mercoledì 21 luglio 2004, Himanshu Raj ha scritto:
> > Hi Folks,
> >
> > When I do
> > make mrproper ARCH=um
> >
> > executables mk_task and mk_conatant don't go away from arch/um/util. I
> > tried putting the following lines in the arch/um/util/Makefile:
> >
> > clean :
> >         $(RM) -f $(host-progs)
> >
> > mrproper : clean
> >
> >
> > But that doesn't work. I tried finding where I can add a target for
> > CLEAN, but I don't understand the new kbuild process really well. Can
> > anyone take a shot at this?
>
> Read Documentation/kbuild/makefiles.txt and add something like this:
>
> clean-files := $(host-progs)
No, sorry, those executables should already go away because listed in 
$(always); the problem is that Kbuild does not descend in that folder; kbuild 
goes to clean where in dirs listed in core-y, libs-y, drivers-y and net-y. 

The fix is below (but it's a copy-and-paste, so apply by hand). It will be in 
my next patchset - thanks for reporting.

diff -puN arch/um/Makefile~uml-add-some-cleaning arch/um/Makefile
--- uml-linux-2.6.7/arch/um/Makefile~uml-add-some-cleaning      2004-08-13 
21:06:37.604373632 +0200
+++ uml-linux-2.6.7-paolo/arch/um/Makefile      2004-08-13 21:08:47.241665768 
+0200
@@ -145,6 +145,7 @@ archmrproper:
        @:

 archclean:
+       $(Q)$(MAKE) $(clean)=arch/um/util
        @find . \( -name '*.bb' -o -name '*.bbg' -o -name '*.da' \
                -o -name '*.gcov' \) -type f -print | xargs rm -f


By the way, there is a lot of mess here - arch/um/include/skas_ptregs.h does 
not get updated how much it should. However I wrote some patches for this, 
too.
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2004-08-20 10:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-21 21:48 [uml-devel] make mrproper leaves some files around Himanshu Raj
2004-07-22 18:12 ` BlaisorBlade
2004-08-13 21:09   ` BlaisorBlade [this message]

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=200408132309.50015.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=hraj@us.ibm.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox