Apologies for the delay. You raised some good points so I put the mail one side to think about then forgot it was in my drafts folder.
On Sat, 29 Sep 2001 17:05:57 +0200, "Giacomo A. Catenazzi" <[EMAIL PROTECTED]> wrote: >BUG: > >$ make mrproper >$ make mrproper >Error: you must create a .config first > >mrproper should not depend on .config (contents and >existance). kbuild 2.4 relies on everybody coding the mrproper targets at the top level which is manual and error prone. kbuild 2.5 automatically generates the mrproper targets from each Makefile.in, the disadvantage is that it needs a config to do that. However that only applies if source and object are in the same directory, if you use a separate object directory then make mrproper simply erases everything in the object directory. I am willing to accept the need to have a config to do make mrproper to get an automatic cleanup. >COMMENT: > >Your documentation is extensive, but I didn't found >the meaning of targets. Which targets? >I think that now (with kbuild) we can nearly always >replace mrproper with clean. (and mrproper will >do clean + rm .config). mrproper removes the support files like scripts/pp_makefile[1-4] as well as all the user generated binaries and headers. Clean only gets rid of the kernel related files. >BUG ? > >making arch/i386/boot/bbotsect.o: >old: > bbootsect.s: Assembler message: > bbootsect.s:257: Warning .... >new: > /tmp/ccM????: Assempler message > /tmp/ccM5???:257" Warning ... > >What is the more user-friendly message? >The cause: you forget '-pipe'. -pipe does not really help. Instead of /tmp/ccM????, -pipe results in messages for {standard input}. kbuild 2.4 displays the .s name because bbootsect.o is built in two stages, bbootsect.S -> bbootsect.s -> bbootsect.o. I will look at doing a two stage conversion in kbuild 2.5 for .S files. The second stage would use $(AS) instead of $(CC). >COMMENT > >You should change the number of the phases. >I really don't like phase 5 before phase 4. >(Let a missing phase number of first compile, >but let the pahse always be in order) Phase 5 is feedback from the previous run, its numbering reflects that it is a continuation of the previous build. However I expect to remove phase 5 anyway, when I replace the individual .d and .cd files with a global database. That will significantly speed things up. _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel