From 7a315b0b5d6aa91695853a8647383876e4b49a7a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 14 Dec 2016 15:36:39 +0100 Subject: 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/ 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 --- toolchain/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain') diff --git a/toolchain/Makefile b/toolchain/Makefile index a656a86b0d..9f565d0e59 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -87,5 +87,6 @@ $(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed: endif $(eval $(call stampfile,$(curdir),toolchain,install,$(TOOLCHAIN_DIR)/stamp/.gcc-initial_installed,,$(TOOLCHAIN_DIR))) +$(eval $(call stampfile,$(curdir),toolchain,check,$(TMP_DIR)/.build)) $(eval $(call subdir,$(curdir))) -- cgit v1.2.3