[PATCH 1/3] kbuild: improve EXPORT_SYMBOL() parsing from asm code

2016-11-30 Thread Nicolas Pitre
First, make the asm-prototypes.h presence optional. The next patch will make it unneeded for modversion support. Use the -D__GENKSYMS__ like we do for .c files but to expand the EXPORT_SYMBOL macro using the preprocessor instead of a sed script. The preprocessor output parsing is then limited to

[PATCH 1/3] kbuild: improve EXPORT_SYMBOL() parsing from asm code

2016-11-30 Thread Nicolas Pitre
First, make the asm-prototypes.h presence optional. The next patch will make it unneeded for modversion support. Use the -D__GENKSYMS__ like we do for .c files but to expand the EXPORT_SYMBOL macro using the preprocessor instead of a sed script. The preprocessor output parsing is then limited to