blob: 39ec09e6bb2df13ac041ffba8e1b11d3dfa07c91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
ifeq ($(shell sha512sum --version >/dev/null 2>&1 || echo FAIL),)
SHA512SUM = sha512sum
else ifeq ($(shell shasum --version >/dev/null 2>&1 || echo FAIL),)
SHA512SUM = shasum -a 512
else ifeq ($(shell openssl version >/dev/null 2>&1 || echo FAIL),)
SHA512SUM = openssl sha512
else
SHA512SUM = $(error no SHA-512 tool found!)
endif
|