From cf9dd1c65309da6d4e60beeea7e0842f14251d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 22 Feb 2023 16:03:31 +0100 Subject: [PATCH] lvgl: silent download and unpack This introduces changes from NuttX commit 03b164f59ce40a3f5677b0588af2aee8d9697bf6. --- graphics/lvgl/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/graphics/lvgl/Makefile b/graphics/lvgl/Makefile index 8ae2753b7..912f87908 100644 --- a/graphics/lvgl/Makefile +++ b/graphics/lvgl/Makefile @@ -94,19 +94,22 @@ LVGL_VERSION = $(patsubst "%",%,$(strip $(CONFIG_LVGL_VERSION))) LVGL_TARBALL = v$(LVGL_VERSION).zip LVGL_UNPACKNAME = lvgl -UNPACK ?= unzip -o +UNPACK ?= unzip -o $(if $(V),,-q) +CURL ?= curl -L -O $(if $(V),,-Ss) LVGL_UNPACKDIR = $(WD)/$(LVGL_UNPACKNAME) $(LVGL_TARBALL): - $(Q) echo "Downloading: $(LVGL_TARBALL)" - $(Q) curl -O -L $(CONFIG_GRAPH_LVGL_URL)/$(LVGL_TARBALL) + $(ECHO_BEGIN)"Downloading: $(LVGL_TARBALL)" + $(Q) $(CURL) $(CONFIG_GRAPH_LVGL_URL)/$(LVGL_TARBALL) + $(ECHO_END) $(LVGL_UNPACKNAME): $(LVGL_TARBALL) - $(Q) echo "Unpacking: $(LVGL_TARBALL) -> $(LVGL_UNPACKNAME)" + $(ECHO_BEGIN)"Unpacking: $(LVGL_TARBALL) -> $(LVGL_UNPACKNAME)" $(Q) $(UNPACK) $(LVGL_TARBALL) $(Q) mv lvgl-$(LVGL_VERSION) $(LVGL_UNPACKNAME) $(Q) touch $(LVGL_UNPACKNAME) + $(ECHO_END) # Download and unpack tarball if no git repo found ifeq ($(wildcard $(LVGL_UNPACKNAME)/.git),)