From aaf4a738f9d2c175c77f56fe1ca7dfbacdda6daf Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 17 Dec 2020 15:23:21 +0100 Subject: [PATCH] makefiles/arch/riscv: redirect error message to /dev/null --- makefiles/arch/riscv.inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/arch/riscv.inc.mk b/makefiles/arch/riscv.inc.mk index e4e0dedad7..6d22f4e501 100644 --- a/makefiles/arch/riscv.inc.mk +++ b/makefiles/arch/riscv.inc.mk @@ -25,7 +25,7 @@ TARGET_ARCH_RISCV ?= \ $(subst -gcc,,\ $(notdir \ $(word 1,\ - $(foreach triple,$(_TRIPLES_TO_TEST),$(shell which $(triple)-gcc)))))) + $(foreach triple,$(_TRIPLES_TO_TEST),$(shell which $(triple)-gcc 2> /dev/null)))))) TARGET_ARCH ?= $(TARGET_ARCH_RISCV)