cfg80211: honour V=1 in certificate code generation
authorJohannes Berg <johannes.berg@intel.com>
Fri, 27 Aug 2021 11:11:12 +0000 (13:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 Sep 2021 11:37:02 +0000 (13:37 +0200)
When we generate the code for built-in certificates, honour
the V=1 build option to print out the script doing it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20210827131112.dc5492458d55.Idefe4ce8f9681a5ad576d3c6e57c7bff142244de@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/Makefile

index af590ae606b69cb02027d4b0072c6aa7dde16a43..756e7de7e33f3095c4a84215352d00de6d3ae2c5 100644 (file)
@@ -26,7 +26,7 @@ endif
 
 $(obj)/shipped-certs.c: $(wildcard $(srctree)/$(src)/certs/*.hex)
        @$(kecho) "  GEN     $@"
-       @(echo '#include "reg.h"'; \
+       $(Q)(echo '#include "reg.h"'; \
          echo 'const u8 shipped_regdb_certs[] = {'; \
          echo | cat - $^ ; \
          echo '};'; \
@@ -36,7 +36,7 @@ $(obj)/shipped-certs.c: $(wildcard $(srctree)/$(src)/certs/*.hex)
 $(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR:"%"=%) \
                      $(wildcard $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR:"%"=%)/*.x509)
        @$(kecho) "  GEN     $@"
-       @(set -e; \
+       $(Q)(set -e; \
          allf=""; \
          for f in $^ ; do \
              test -f $$f || continue;\