Re: [uml-devel] make mrproper leaves some files around ....
From: BlaisorBlade <hidden>
Date: 2004-08-20 10:10:19
Alle 20:12, giovedì 22 luglio 2004, BlaisorBlade ha scritto:
Alle 23:48, mercoledì 21 luglio 2004, Himanshu Raj ha scritto:quoted
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