From 943aa68069142545db7c2342ff608c9e6a0670c9 Mon Sep 17 00:00:00 2001 From: Xu Xingliang Date: Tue, 30 Apr 2024 14:22:14 +0800 Subject: [PATCH] apps/lvgl: fix distclean warnings Cleaning... find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/src': No such file or directory find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/src': No such file or directory find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/src': No such file or directory find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/demos': No such file or directory find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/examples': No such file or directory find: '/github/workspace/sources/apps/graphics/lvgl/lvgl/src': No such file or directory Signed-off-by: Xu Xingliang --- graphics/lvgl/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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