diff --git a/graphics/lvgl/Makefile b/graphics/lvgl/Makefile index 153c5f1db25..6f3eddc2beb 100644 --- a/graphics/lvgl/Makefile +++ b/graphics/lvgl/Makefile @@ -64,10 +64,12 @@ $(LVGL_UNPACKNAME): $(LVGL_TARBALL) # Download and unpack tarball if no git repo found ifeq ($(wildcard $(LVGL_UNPACKNAME)/.git),) context:: $(LVGL_UNPACKNAME) +endif + +include $(APPDIR)/Application.mk +ifeq ($(wildcard $(LVGL_UNPACKNAME)/.git),) distclean:: $(call DELDIR, $(LVGL_UNPACKNAME)) $(call DELFILE, $(LVGL_TARBALL)) endif - -include $(APPDIR)/Application.mk