• S
    kbuild: check license compatibility when building modules · b817f6fe
    Sam Ravnborg 提交于
    Modules that uses GPL symbols can no longer be build with kbuild,
    the build will fail during the modpost step.
    When a GPL-incompatible module uses a EXPORT_SYMBOL_GPL_FUTURE symbol
    then warn during modpost so author are actually notified.
    
    The actual license compatibility check is shared with the kernel
    to make sure it is in sync.
    
    Patch originally from: Andreas Gruenbacher <agruen@suse.de> and
    Ram Pai <linuxram@us.ibm.com>
    Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
    b817f6fe
module.c 54.7 KB