Re: RfC: Don't cd into subdirs during kbuild

From: Xavier Bestel (xavier.bestel@free.fr)
Date: Thu Oct 03 2002 - 03:21:09 EST


Le jeu 03/10/2002 à 04:59, Kai Germaschewski a écrit :
>
> Hi,
>
> I'd appreciate to get comments on the appended patch. It's mostly cleanups
> and the like, but the interesting part is the last cset, which is actually
> fairly small:
>
> 14 files changed, 64 insertions(+), 47 deletions(-)
>
> The build process remains recursive, but it changes the recursion
> from
>
> make -C subdir
>
> to
>
> make -f subdir/Makefile

Could you do instead:

        include subdir/Makefile
?

This would avoid recursive make, which isn't really a good idea (even if
it's used widely). Here is a good agument about that:
http://www.cse.iitb.ac.in/~soumen/teach/cs699a1999/make.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:37 EST