aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-16 15:29:36 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-16 15:40:07 +0100
commit6a5cc2d08593ba63dddaa452e69b14c3edb08254 (patch)
tree7f6fe98beb507f7be1a175f299e48bfa02df5624
parent881c5b47ece3702ee9ea6fe450cded8635da5056 (diff)
downloadupstream-6a5cc2d08593ba63dddaa452e69b14c3edb08254.tar.gz
upstream-6a5cc2d08593ba63dddaa452e69b14c3edb08254.tar.bz2
upstream-6a5cc2d08593ba63dddaa452e69b14c3edb08254.zip
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>
-rw-r--r--include/download.mk2
-rw-r--r--include/package.mk1
2 files changed, 1 insertions, 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