From 6a5cc2d08593ba63dddaa452e69b14c3edb08254 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 16 Dec 2016 15:29:36 +0100 Subject: [PATCH] include/package.mk: sync default value for hash fallback with mirror hash Simplifies dealing with PKG_HASH vs PKG_MD5SUM Signed-off-by: Felix Fietkau --- include/download.mk | 2 +- include/package.mk | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/download.mk b/include/download.mk index ec55777238..095311bfbd 100644 --- a/include/download.mk +++ b/include/download.mk @@ -171,7 +171,7 @@ define Download/Defaults URL_FILE:= PROTO:= HASH=$$(MD5SUM) - MD5SUM:= + MD5SUM:=x SUBDIR:= MIRROR:=1 MIRROR_HASH=$$(MIRROR_MD5SUM) diff --git a/include/package.mk b/include/package.mk index 87dc573088..26fc30c7ec 100644 --- a/include/package.mk +++ b/include/package.mk @@ -11,7 +11,6 @@ all: $(if $(DUMP),dumpinfo,compile) PKG_BUILD_DIR ?= $(BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION)) PKG_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install -PKG_MD5SUM ?= unknown PKG_BUILD_PARALLEL ?= PKG_USE_MIPS16 ?= 1 PKG_IREMAP ?= 1 -- 2.30.2