build: implement make check and make package/X/check
authorFelix Fietkau <nbd@nbd.name>
Wed, 14 Dec 2016 14:36:39 +0000 (15:36 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 17 Dec 2016 09:36:25 +0000 (10:36 +0100)
commit7a315b0b5d6aa91695853a8647383876e4b49a7a
treeca99d91b9ec9408e37d30f2983847fc5a500d4a7
parent720b99215da295a2e7b4acdef30b58bec6acedc2
build: implement make check and make package/X/check

This is intended to be used for a wide array of package sanity checks.

The first check that is implemented is for the hash of downloaded files.
It checks:
  - Missing hash
  - Use of SHA256 instead of MD5
  - dl/<file> hash not matching hash in makefile
  - deprecated MD5SUM variable

The deprecated MD5SUM variable check is skipped for feeds/ until OpenWrt
is updated as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Makefile
include/download.mk
include/host-build.mk
include/kernel.mk
include/package.mk
include/subdir.mk
include/toplevel.mk
package/Makefile
rules.mk
toolchain/Makefile
tools/Makefile