tmp_suning_uos_patched/Documentation/kbuild
Sam Ravnborg 06300b21f4 kbuild: support building individual files for external modules
Support building individual files when dealing with separate modules.
So say you have a module named "foo" which consist of two .o files bar.o
and fun.o.

You can then do:
make -C $KERNELSRC M=`pwd` bar.o
make -C $KERNELSRC M=`pwd` bar.lst
make -C $KERNELSRC M=`pwd` bar.i
make -C $KERNELSRC M=`pwd` /            <= will build all .o files
                                           and link foo.o
make -C $KERNELSRC M=`pwd` foo.ko       <= will build the module
                                           and do the modpost step
					   to create foo.ko

The above will also work if the external module is placed in a
subdirectory using a hirachy of kbuild files.
Thanks to Andreas Gruenbacher <agruen@suse.de> for initial feature
request / bug report.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2006-02-19 09:51:17 +01:00
..
00-INDEX Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kconfig-language.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
makefiles.txt kbuild: remove GCC_VERSION 2006-01-08 19:58:51 +01:00
modules.txt kbuild: support building individual files for external modules 2006-02-19 09:51:17 +01:00