1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #15668 from leandrolanzieri/pr/makefiles/arch/riscv_redirect_which_error

makefiles/arch/riscv: redirect 'which' error message to /dev/null
This commit is contained in:
Marian Buschsieweke 2020-12-19 21:43:16 +01:00 committed by GitHub
commit 720ea90372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)