• Masahiro Yamada's avatar
    linux/export.h: make <linux/export.h> independent of CONFIG_MODULES · 481461f5
    Masahiro Yamada authored
    Currently, all files with EXPORT_SYMBOL() are rebuilt when CONFIG_MODULES
    is flipped due to <linux/export.h> depending on CONFIG_MODULES.
    
    Now that modpost can make a final decision about export symbols,
    <linux/export.h> does not need to make EXPORT_SYMBOL() no-op.
    Instead, modpost can skip emitting KSYMTAB when CONFIG_MODULES is unset.
    
    This commit will reduce the number of recompilation when CONFIG_MODULES
    is toggled.
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    481461f5
Makefile.modpost 4.69 KB