lv_bindings: funcptr feature

Makefile: add a target to build only the bindings
This commit is contained in:
Amir Gonnen 2020-12-22 00:45:09 +02:00
parent 91561ce070
commit 18e2e8dacb
2 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit dc736a25e52e717904130843a050c6055423aa03
Subproject commit f83eeef14df75664e122bf023cdcefddb25f05fe

View File

@ -46,6 +46,9 @@ $(LVGL_MPY): $(ALL_LVGL_SRC) $(LVGL_BINDING_DIR)/gen/gen_mpy.py
$(Q)$(CPP) $(LV_CFLAGS) -I $(LVGL_BINDING_DIR)/pycparser/utils/fake_libc_include $(INC) $(LVGL_DIR)/lvgl.h > $(LVGL_PP)
$(Q)$(PYTHON) $(LVGL_BINDING_DIR)/gen/gen_mpy.py -M lvgl -MP lv -MD $(LVGL_MPY_METADATA) -E $(LVGL_PP) $(LVGL_DIR)/lvgl.h > $@
.PHONY: LVGL_MPY
LVGL_MPY: $(LVGL_MPY)
CFLAGS_MOD += -Wno-unused-function
SRC_MOD += $(subst $(TOP)/,,$(shell find $(LVGL_DIR)/src $(LVGL_GENERIC_DRV_DIR) -type f -name "*.c") $(LVGL_MPY))