Skip to content

Commit

Permalink
Add new lk support
Browse files Browse the repository at this point in the history
  • Loading branch information
luka177 committed Sep 3, 2023
1 parent fbe01db commit cfa3181
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lvgl.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ifdef OBJS
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/demos/lv_demos.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/examples/lv_examples.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/core/lv_core.mk
Expand All @@ -7,4 +8,9 @@ include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/font/lv_font.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/hal/lv_hal.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/misc/lv_misc.mk
include $(LVGL_DIR)/$(LVGL_DIR_NAME)/src/widgets/lv_widgets.mk

else
MODULE_SRCS += $(shell find $(LVGL_PATH)/src -type f -name '*.c')
MODULE_SRCS += $(shell find $(LVGL_PATH)/demos -type f -name '*.c')
MODULE_SRCS += $(shell find $(LVGL_PATH)/examples -type f -name '*.c')
GLOBAL_INCLUDES += "-I$(LVGL_DIR)/$(LVGL_DIR_NAME)/"
endif

0 comments on commit cfa3181

Please sign in to comment.