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 <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-12-16 15:29:36 +01:00
parent 881c5b47ec
commit 6a5cc2d085
2 changed files with 1 additions and 2 deletions

View file

@ -171,7 +171,7 @@ define Download/Defaults
URL_FILE:=
PROTO:=
HASH=$$(MD5SUM)
MD5SUM:=
MD5SUM:=x
SUBDIR:=
MIRROR:=1
MIRROR_HASH=$$(MIRROR_MD5SUM)

View file

@ -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