From d772dc01162efc13dbd6c6e8d24ab83369b32f55 Mon Sep 17 00:00:00 2001
From: Kaspar Schleiser <kaspar@schleiser.de>
Date: Sat, 17 Jun 2017 15:12:01 +0200
Subject: [PATCH] boards: x86-multiboot-common: use dlcache for downloading
 toolchain

---
 boards/x86-multiboot-common/Makefile.include | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/boards/x86-multiboot-common/Makefile.include b/boards/x86-multiboot-common/Makefile.include
index 9662795cbf..4133f13305 100644
--- a/boards/x86-multiboot-common/Makefile.include
+++ b/boards/x86-multiboot-common/Makefile.include
@@ -5,11 +5,12 @@ endif
 ifneq (0, $(shell test -e "$(NEWLIB_BASE)/lib/libc.a" && echo $$?))
   NEWLIB_PRECOMPILED_NAME := i586-newlib_2.2.0.20150623_tlsf-3337.tar.bz2
   NEWLIB_PRECOMPILED := http://download.riot-os.org/$(NEWLIB_PRECOMPILED_NAME)
+  NEWLIB_PRECOMPILED_MD5 := 8090a768cf0294b259fe7ad904d085c7
 
   $(warning Precompiled newlib is missing in $(NEWLIB_BASE))
   $(warning Downloading from $(NEWLIB_PRECOMPILED))
 
-  $(shell cd $(RIOTBASE) && $(DOWNLOAD_TO_STDOUT) "$(NEWLIB_PRECOMPILED)" | tar xj)
+  $(shell cd $(RIOTBASE) && $(DLCACHE) "$(NEWLIB_PRECOMPILED)" 8090a768cf0294b259fe7ad904d085c7 - | tar xj)
 endif
 
 ifeq (,$(BUILD_INCLUDE_BASE))
-- 
GitLab