build: disable character output display during the kernel compilation

the output is as follows printing by openssl:
  CERT    certs/x509_certificate_list
  GENKEY  certs/signing_key.pem
.....+................+...+.....+++++++++++++++++++++++++++++++++
..+....+.....+......+....+..+....+....................+............
  CC      arch/riscv/kernel/probes/decode-insn.o
...+..........+..........................+.......+...............
..++++  CC      fs/notify/inotify/inotify_fsnotify.o
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++

Change-Id: Ia9ffa6b451f0e1612b50872a0fc1010fdc5eff6c
This commit is contained in:
zhangmeng 2024-11-21 20:15:13 +08:00
parent 72f15789ce
commit f18186bb12

View file

@ -47,7 +47,7 @@ keytype-$(CONFIG_MODULE_SIG_KEY_TYPE_ECDSA) := -newkey ec -pkeyopt ec_paramgen_c
quiet_cmd_gen_key = GENKEY $@
cmd_gen_key = openssl req -new -nodes -utf8 -$(CONFIG_MODULE_SIG_HASH) -days 36500 \
-batch -x509 -config $< \
-outform PEM -out $@ -keyout $@ $(keytype-y) 2>&1
-outform PEM -out $@ -keyout $@ $(keytype-y) 2> /dev/null
$(obj)/signing_key.pem: $(obj)/x509.genkey FORCE
$(call if_changed,gen_key)