X.509: shut up about included cert for silent build
authorArnd Bergmann <arnd@arndb.de>
Tue, 13 Jan 2015 21:24:00 +0000 (22:24 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 23 Jan 2015 12:10:39 +0000 (12:10 +0000)
Every kernel build that includes X.509 support prints out
a message like

 - Including cert signing_key.x509

This may be useful for some cases, but when doing automated
build tests, it just means noise.

To hide the message, this uses '$(kecho)' for printing the
message, which means we still see it when building with V=1,
but not at the normal level or when building with 'make -s'.

Signed-off-by: Arnd Bergmann <arnd@arnd.de>
Signed-off-by: David Howells <dhowells@redhat.com>
kernel/Makefile

index a59481a3fa6cffeb4e8d6a040df6be524394bbb9..23e17a7e7a638f1ba872bbd3ae6a0729ecc95847 100644 (file)
@@ -142,7 +142,7 @@ endif
 kernel/system_certificates.o: $(obj)/x509_certificate_list
 
 quiet_cmd_x509certs  = CERTS   $@
-      cmd_x509certs  = cat $(X509_CERTIFICATES) /dev/null >$@ $(foreach X509,$(X509_CERTIFICATES),; echo "  - Including cert $(X509)")
+      cmd_x509certs  = cat $(X509_CERTIFICATES) /dev/null >$@ $(foreach X509,$(X509_CERTIFICATES),; $(kecho) "  - Including cert $(X509)")
 
 targets += $(obj)/x509_certificate_list
 $(obj)/x509_certificate_list: $(X509_CERTIFICATES) $(obj)/.x509.list