1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/arch
chrysn 6b50033766 makefiles: Replace which with command -v
As the POSIX documentation[1] of `command -v` guarantees that on error
there will be no output (and there will be output in the other cases),
the tests in Makefiles were simplified to test for output equality to
the empty string.

Redirects swallowing error outputs were removed, as the command produces
no error output there (as recommended at [2]).

Existing uses of `command` are simplified as well.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[2]: https://salsa.debian.org/debian/debianutils/-/blob/master/debian/NEWS
2021-09-02 16:30:46 +02:00
..
avr8.inc.mk cpu/atxmega: Add external bus interface 2021-08-24 08:35:41 -03:00
cortexm.inc.mk cpu/cortexm_common: add support for Cortex-M33 2020-10-06 17:11:26 +02:00
mips.inc.mk cpu/mips_pic32_common: fix XFA support 2021-02-18 10:46:08 +01:00
msp430.inc.mk cpu/msp430_common: add XFA support 2021-02-18 10:46:08 +01:00
riscv.inc.mk makefiles: Replace which with command -v 2021-09-02 16:30:46 +02:00