]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: use $(basename ...) for cmd_asn1_compiler
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 20 Jul 2019 16:27:38 +0000 (01:27 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 13 Aug 2019 16:10:42 +0000 (01:10 +0900)
commitf50e1695a35163c5c5cc3543397ea5721c16f77e
tree867638358fd7734fe2ae22597dcf1e088cac61b7
parent260b2630cc74dfc3a0cd73590fb65299e14596cb
kbuild: use $(basename ...) for cmd_asn1_compiler

$(basename ...) trims the last suffix. Using it is more intuitive in
my opinion.

This pattern rule makes %.asn1.c and %.asn1.h at the same time.
Previously, the short log showed only either of them, depending on
the target file in question.

To clarify that two files are being generated by the single recipe,
I changed the log as follows:

Before:

  ASN.1   crypto/asymmetric_keys/x509.asn1.c

After:

  ASN.1   crypto/asymmetric_keys/x509.asn1.[ch]

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.build