You need to sign in or sign up before continuing.
  • M
    kbuild: simplify single target rules · 6b12de69
    Masahiro Yamada 提交于
    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: NMasahiro Yamada <yamada.masahiro@socionext.com>
    6b12de69
Makefile 58.3 KB