HELP: I don't understand why buid composite gadgets code into one file

From: Changbin Du
Date: Mon May 07 2012 - 07:01:16 EST


usb gadget code "zero.c" writes:
/*
* Kbuild is not very cooperative with respect to linking separately
* compiled library objects into one module. So for now we won't use
* separate compilation ... ensuring init/exit sections work to shrink
* the runtime footprint, and giving us at least some parts of what
* a "gcc --combine ... part1.c part2.c part3.c ... " build would.
*/
#include "composite.c"
#include "usbstring.c"
#include "config.c"
#include "epautoconf.c"

#include "f_sourcesink.c"
#include "f_loopback.c"
------------------------------------------------------------------
I don't understand the meaning of "ensuring init/exit sections work to
shrink the runtime footprint" . Can anyone help me? thanks!
--
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/