[source] include/package.mk: sync default value for hash fallback with mirror hash

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 16 06:40:17 PST 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/6a5cc2d08593ba63dddaa452e69b14c3edb08254

commit 6a5cc2d08593ba63dddaa452e69b14c3edb08254
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri Dec 16 15:29:36 2016 +0100

    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 at nbd.name>
---
 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 ec55777..095311b 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 87dc573..26fc30c 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



More information about the lede-commits mailing list