Re: [PATCH] kbuild: support building individual files for external modules

From: Andreas Gruenbacher
Date: Sun Jan 22 2006 - 16:55:33 EST


On Sunday 22 January 2006 22:28, Sam Ravnborg wrote:
> Following patch implement support for building individual files when
> dealing with separate modules.

Lightly tested with a separate O= and M= directory and a copy of the entire
fs/ tree; all seems to work for me. The only issue I had was with
fs/xfs/Kbuild, which reads:

[] include $(srctree)/$(obj)/Makefile-linux-2.6

This should get changed as below to work equally well in and out of the tree:

[] include $(src)/Makefile-linux-2.6

> make -C $KERNELSRC M=`pwd` bar.lst

That's what triggered the bug report for me: people expect those targets to
work also for external modules, and the patch fixes them. Thank you very
much, Sam!

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