* [uml-devel] make mrproper leaves some files around ....
@ 2004-07-21 21:48 Himanshu Raj
2004-07-22 18:12 ` BlaisorBlade
0 siblings, 1 reply; 3+ messages in thread
From: Himanshu Raj @ 2004-07-21 21:48 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
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?
Thanks,
Himanshu Raj
IBM T.J. Watson Research Center
Yorktown Heights, NY
[-- Attachment #2: Type: text/html, Size: 1000 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [uml-devel] make mrproper leaves some files around ....
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
0 siblings, 1 reply; 3+ messages in thread
From: BlaisorBlade @ 2004-07-22 18:12 UTC (permalink / raw)
To: Himanshu Raj, user-mode-linux-devel
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)
I'll do it myself when and if I can...
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] make mrproper leaves some files around ....
2004-07-22 18:12 ` BlaisorBlade
@ 2004-08-13 21:09 ` BlaisorBlade
0 siblings, 0 replies; 3+ messages in thread
From: BlaisorBlade @ 2004-08-13 21:09 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Himanshu Raj
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-20 10:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox