-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi!
Sam Ravnborg schrieb: | On Sun, Mar 21, 2004 at 09:44:50AM -0500, Joachim Förster wrote: | |>-----BEGIN PGP SIGNED MESSAGE----- |>Hash: SHA1 |> |>Hi! |> |>I am just a beginner with kbuild and I've got one question: I know that |>it is possible to "make fs/fat/" to get the objects which are in this |>directory. |>But now I selected fat to be a module. Now the question: is it possible |>to say "make fs/fat/ <something>" to have this one module (fat.ko) being |>built. | | The above syntax will build fat as a module as well. | But only the .o file, not the .ko file. | | Here you have to use 'make modules', which as a side-effect | will make sure all other modules are up-to-date. | | |>Background: Is it even possible to extract the kernel source tree and |>then only build one selected module and its dependencies? | | No, not if your .config has more modules specified.
So, hmmm ... I tried to handle a "kernel-inside" module as it was a module outside of the kernel source tree:
make -C $KERNEL_SOURCE_TREE SUBDIRS=$KERNEL_SOURCE_TREE/fs/fat modules
Bevor that, I configured with menuconfig and enabled other stuff to be built as modules, too. This seems to work, because in this case only fat.ko is built.
Is this an "legal" way? Or is it against principles?
~ Joachim -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAXtkXZY86bR8HqNwRAhWfAJ99HQzhB6yVe6laJSoxcN5j5SDNVwCgmzNV 9nRONy4DntYhnMa3ZEHz9D8= =Xml9 -----END PGP SIGNATURE-----
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel