Skip to content
  • Sam Ravnborg's avatar
    kbuild: fix 'make all install_modules install' · df9df036
    Sam Ravnborg authored
    
    
    The command 'make all modules_install install' would fail
    in a virgin tree - pointing at a non-existing directory under
    /lib/modules/xxx
    
    KERNELRELEASE is part of MODLIB and we need to create .kernelrelease
    before we can properly evaluate KERNELRELEASE,
    Changing MODLIB to the recursively expanded flavor let it pick up
    the correct KERNELRELEASE value.
    
    Reported by: "Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de>
    
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    df9df036