apache / nuttx-apps

Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS
https://nuttx.apache.org/
Apache License 2.0
264 stars 490 forks source link

apps/lvgl: fix distclean warnings #2373

Closed XuNeo closed 2 months ago

XuNeo commented 2 months ago

Summary

LVGL uses shell find to set CSRCS. LVGL sources have already been deleted when Application.mk is included at file end, thus causing the warning.

lvgl/lvgl.mk

LVGL_PATH ?= ${shell pwd}/lvgl

ASRCS += $(shell find $(LVGL_PATH)/src -type f -name '*.S')
CSRCS += $(shell find $(LVGL_PATH)/src -type f -name '*.c')
CSRCS += $(shell find $(LVGL_PATH)/demos -type f -name '*.c')
CSRCS += $(shell find $(LVGL_PATH)/examples -type f -name '*.c')
CXXEXT := .cpp
CXXSRCS += $(shell find $(LVGL_PATH)/src -type f -name '*${CXXEXT}')

AFLAGS += "-I$(LVGL_PATH)"
CFLAGS += "-I$(LVGL_PATH)"
CXXFLAGS += "-I$(LVGL_PATH)"

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

Impact

Testing