We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bec577b commit 40eb341Copy full SHA for 40eb341
micropython.mk
@@ -87,5 +87,16 @@ LVGL_MPY: $(LVGL_MPY)
87
88
CFLAGS_USERMOD += -Wno-unused-function
89
CFLAGS_EXTRA += -Wno-unused-function
90
-SRC_USERMOD_LIB_C += $(subst $(TOP)/,,$(shell find $(LVGL_DIR)/src $(LVGL_DIR)/examples $(LVGL_GENERIC_DRV_DIR) -type f -name "*.c"))
+
91
+# LVGL SRC
92
+SRC_USERMOD_LIB_C += $(shell find $(LVGL_DIR)/src -type f -name "*.c")
93
94
+# LVGL GENERIC DRIVER
95
+SRC_USERMOD_LIB_C += $(shell find $(LVGL_GENERIC_DRV_DIR) -type f -name "*.c")
96
97
+# LVGL EXAMPLES
98
+ifeq ($(LV_BUILD_EXAMPLES), 1)
99
+SRC_USERMOD_LIB_C += $(shell find $(LVGL_DIR)/examples -type f -name "*.c")
100
+endif
101
102
SRC_USERMOD_C += $(LVGL_MPY)
0 commit comments