• Masahiro Yamada's avatar
    kbuild: simplify single target rules · 6b12de69
    Masahiro Yamada authored
    The dependency will be checked anyway after Kbuild descends into a
    sub-directory. Skip object/source dependency checks in top Makefile.
    
    VPATH can be simpler since the top Makefile no longer checks the
    presence of the source file, which is located in in the external
    module directory.
    
    One good thing is, it can compile an object from a generated source
    file.
    
      $ make crypto/rsapubkey.asn1.o
        ...
      ASN.1   crypto/rsapubkey.asn1.c
      CC      crypto/rsapubkey.asn1.o
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    6b12de69
Makefile 58.3 KB