summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-12 15:18:11 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-13 10:23:43 +0100
commit5919cc2dc4a76026eb88379c38bab61aff1b5b77 (patch)
treed67549e6b9caac8c6a17a218c531d4a011281347 /include
parent6f9011f089981776970ca3fb397c483e257f9dde (diff)
downloadmtk-20170518-5919cc2dc4a76026eb88379c38bab61aff1b5b77.zip
mtk-20170518-5919cc2dc4a76026eb88379c38bab61aff1b5b77.tar.gz
mtk-20170518-5919cc2dc4a76026eb88379c38bab61aff1b5b77.tar.bz2
build: let make check warn about use of legacy PKG_MD5SUM variable in feeds
The variable rename change has been merged in OpenWrt now, so it's possible to convert the feeds as well. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/download.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/download.mk b/include/download.mk
index b87686d..82a3dd2 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -94,13 +94,10 @@ endif
C_md5_deprecated = Use of $(2) is deprecated, switch to $(3)
-# Skip MD5SUM check in feeds until OpenWrt is updated
-ifneq ($(filter $(foreach dir,package tools toolchain, $(TOPDIR)/$(dir)/%),$(CURDIR)),)
check_md5 = \
$(if $(filter-out x,$(1)), \
$(call check_warn,md5_deprecated,$(1),$(2),$(3)) \
)
-endif
hash_var = $(if $(filter-out x,$(1)),MD5SUM,HASH)
endif