Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1188e2a9 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Johannes Berg
Browse files

cfg80211: don't print log output for building shipped-certs



Building an allmodconfig kernel with 'make -s' now prints a single line:

  GEN     net/wireless/shipped-certs.c

Using '$(kecho)' here will skip the output with 'make -s' but
otherwise keeps printing it, which is consistent with how we
handle all the other output.

Fixes: 90a53e44 ("cfg80211: implement regdb signature checking")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a67a4893
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ cfg80211-y += extra-certs.o
endif

$(obj)/shipped-certs.c: $(wildcard $(srctree)/$(src)/certs/*.x509)
	@echo "  GEN     $@"
	@$(kecho) "  GEN     $@"
	@echo '#include "reg.h"' > $@
	@echo 'const u8 shipped_regdb_certs[] = {' >> $@
	@for f in $^ ; do hexdump -v -e '1/1 "0x%.2x," "\n"' < $$f >> $@ ; done
@@ -32,7 +32,7 @@ $(obj)/shipped-certs.c: $(wildcard $(srctree)/$(src)/certs/*.x509)

$(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR:"%"=%) \
		      $(wildcard $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR:"%"=%)/*.x509)
	@echo "  GEN     $@"
	@$(kecho) "  GEN     $@"
	@echo '#include "reg.h"' > $@
	@echo 'const u8 extra_regdb_certs[] = {' >> $@
	@for f in $^ ; do test -f $$f && hexdump -v -e '1/1 "0x%.2x," "\n"' < $$f >> $@ || true ; done