• Kai Germaschewski's avatar
    kbuild: Build modules by default · 2cb900d0
    Kai Germaschewski authored
    So here we are: make vmlinux/bzImage/whatever will now also build
    modules as it goes. Other than that, everything works as usual.
    "make modules" builds only the modules (but you shouldn't need
    it anymore). If you don't want the modules built, you can
    do "make KBUILD_MODULES= vmlinux/whatever" to only compile built-in
    objects.
    
    If people want it, I can also allow for "make vmlinux/whatever nomodules"
    to do the same.
    
    Also, add '  ' in Rules.make to properly align output in quiet mode.
    2cb900d0
Makefile 19.6 KB