build: add a small standalone utility for calculating md5/sha256 hash
authorFelix Fietkau <nbd@nbd.name>
Sun, 25 Dec 2016 15:23:34 +0000 (16:23 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Jan 2017 10:09:12 +0000 (11:09 +0100)
commitdad48c6438f0a4c42ad34842a88e82280d971d90
tree3db2a4c5b4d2af5f927421f2ad03825c4375fda5
parenta0993dda5f4c7f69748d527e255522c0e5afeb81
build: add a small standalone utility for calculating md5/sha256 hash

This will be used to simplify the build system code for checking hashes.
Instead of using various variants of md5sum / openssl, use one simple
utility for all of them

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/prereq-build.mk
scripts/mkhash.c [new file with mode: 0644]