lvgl: silent download and unpack
This introduces changes from NuttX commit 03b164f59ce40a3f5677b0588af2aee8d9697bf6.
This commit is contained in:
parent
832b160cb1
commit
cf9dd1c653
@ -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),)
|
||||
|
Loading…
Reference in New Issue
Block a user