On Wed, 10 Oct 2001 16:39:16 +0200, 
Giacomo Catenazzi <[EMAIL PROTECTED]> wrote:
>Keith Owens wrote:
>Maybe a better solution: mrproper don't depend on .config.

I convert user_command() to 'make' rules in place, so the result
replaces user_command().  The expanded commands automatically add to
the CLEAN list.  Some user_commands() are conditional on CONFIG_xxx so
I need a .config to get the correct expansion of the global Makefile.
The MRPROPER list includes the CLEAN list.  Without a .config I have no
CLEAN list.

>To speed-up more, you can remove default the verbose things in your make scripts.
>(with preprocessor instead of runtime)
>If user use a makefile parameter VERBOSE, the makefile vould be build verbose.

The generated global Makefile has variables like KBUILD_QUIET and
PP_MAKEFILE3_FLAGS.  I deliberately left this for make to evaluate
instead of doing them during the generation phase.  That lets you debug
kbuild quickly by specifying the failing target, NO_MAKEFILE_GEN
(bypass pre-processor) plus the debug flags to see what is occurring.


_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to