Baptiste Jonglez <g...@bitsofnetworks.org> wrote:
> When calling a download target, hash verification is now completely
> skipped if the SKIPHASH variable is set.

> This allows to easily bump package version:

>     # Update PKG_VERSION in the package Makefile
>     $ make package/<mypackage>/download SKIPHASH=1 V=s
>     $ make package/<mypackage>/check FIXUP=1 V=s

Maybe better introduce DL_OPT and use it?

ifdef SKIPHASH
DL_OPT += --skip-hash
endif

...

$(SCRIPT_DIR)/download.pl $(DL_OPT) "$(DL_DIR)" "$(FILE)" "$(HASH)" 
"$(URL_FILE)" $(foreach url,$(URL),"$(url)") \



_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to