projects
/
openwrt
/
staging
/
ynezz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f9011f
)
build: let make check warn about use of legacy PKG_MD5SUM variable in feeds
author
Felix Fietkau
<nbd@nbd.name>
Thu, 12 Jan 2017 14:18:11 +0000
(15:18 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 13 Jan 2017 09:23:43 +0000
(10:23 +0100)
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>
include/download.mk
patch
|
blob
|
history
diff --git
a/include/download.mk
b/include/download.mk
index b87686dd0781183867951d431ae57c8714ba7713..82a3dd2f988d28fc5ee6e74e0244ba315769c4af 100644
(file)
--- 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