Skip to content

Commit cf9dd1c

Browse files
Cynerdxiaoxiang781216
authored andcommitted
lvgl: silent download and unpack
This introduces changes from NuttX commit 03b164f.
1 parent 832b160 commit cf9dd1c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

graphics/lvgl/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,22 @@ LVGL_VERSION = $(patsubst "%",%,$(strip $(CONFIG_LVGL_VERSION)))
9494
LVGL_TARBALL = v$(LVGL_VERSION).zip
9595

9696
LVGL_UNPACKNAME = lvgl
97-
UNPACK ?= unzip -o
97+
UNPACK ?= unzip -o $(if $(V),,-q)
98+
CURL ?= curl -L -O $(if $(V),,-Ss)
9899

99100
LVGL_UNPACKDIR = $(WD)/$(LVGL_UNPACKNAME)
100101

101102
$(LVGL_TARBALL):
102-
$(Q) echo "Downloading: $(LVGL_TARBALL)"
103-
$(Q) curl -O -L $(CONFIG_GRAPH_LVGL_URL)/$(LVGL_TARBALL)
103+
$(ECHO_BEGIN)"Downloading: $(LVGL_TARBALL)"
104+
$(Q) $(CURL) $(CONFIG_GRAPH_LVGL_URL)/$(LVGL_TARBALL)
105+
$(ECHO_END)
104106

105107
$(LVGL_UNPACKNAME): $(LVGL_TARBALL)
106-
$(Q) echo "Unpacking: $(LVGL_TARBALL) -> $(LVGL_UNPACKNAME)"
108+
$(ECHO_BEGIN)"Unpacking: $(LVGL_TARBALL) -> $(LVGL_UNPACKNAME)"
107109
$(Q) $(UNPACK) $(LVGL_TARBALL)
108110
$(Q) mv lvgl-$(LVGL_VERSION) $(LVGL_UNPACKNAME)
109111
$(Q) touch $(LVGL_UNPACKNAME)
112+
$(ECHO_END)
110113

111114
# Download and unpack tarball if no git repo found
112115
ifeq ($(wildcard $(LVGL_UNPACKNAME)/.git),)

0 commit comments

Comments
 (0)