On Mon, Aug 18, 2014 at 02:20:53PM -0600, Michael Ton wrote: > From: Michael Ton <linuxham@xxxxxxxxx> > > The current Makefile.modpost file includes a warn (-w) flag to modpost if > KBUILD_EXTMOD or KBUILD_MODPOST_WARN. This flag should only be added if > both flags are true. Whenever KBUILD_MODPOST is true, modpost currently > only prints warnings and does not exit on error (such as on an undefined > symbol). >From the documentation: KBUILD_MODPOST_WARN -------------------------------------------------- KBUILD_MODPOST_WARN can be set to avoid errors in case of undefined symbols in the final module linking stage. It changes such errors into warnings. Nothing here say that we need KBUILD_EXTMOD to use this. Why did you conclude that KBUILD_MODPOST_WARN is only relevant for KBUILD_EXTMOD? Something must have triggerede the patch... Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html