• Kai Germaschewski's avatar
    kbuild: Fix a race with module postprocessing · 939ff499
    Kai Germaschewski authored
    For the modversions case, we need vmlinux to be built before postprocessing
    modules can start, since we need to extract the checksums from it.
    
    For the non-modversions case, we use vmlinux if it's available (so we can
    sensibly give warnings about unresolved symbols), but otherwise not. 
    However, this could race with vmlinux being built at the exact same time as 
    being processed.
    
    Fixed by waiting until vmlinux is finished before starting module
    postprocessing.
    939ff499
Makefile 27.3 KB