mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-23 11:52:59 +00:00
Move to painter's mk
This commit is contained in:
parent
7b56f31ace
commit
08a3218585
@ -182,12 +182,6 @@ endif
|
||||
QUANTUM_PAINTER_ENABLE ?= no
|
||||
ifeq ($(strip $(QUANTUM_PAINTER_ENABLE)), yes)
|
||||
include $(QUANTUM_DIR)/painter/rules.mk
|
||||
# add any keyboard-, keymap-, or user- level fonts and images
|
||||
# TODO: generate a header file (with CLI) which includes all the headers found (?)
|
||||
QP_DIRS := $(KEYBOARD_PATHS) $(KEYMAP_PATH) $(USER_PATH)
|
||||
QP_FONTS := $(foreach dir,$(QP_DIRS),$(wildcard $(dir)/painter/fonts/*.qff.c))
|
||||
QP_IMGS := $(foreach dir,$(QP_DIRS),$(wildcard $(dir)/painter/images/*.qgf.c))
|
||||
SRC += $(QP_FONTS) $(QP_IMGS)
|
||||
endif
|
||||
|
||||
VALID_EEPROM_DRIVER_TYPES := vendor custom transient i2c spi wear_leveling legacy_stm32_flash
|
||||
|
@ -159,3 +159,11 @@ endif
|
||||
ifeq ($(strip $(QUANTUM_PAINTER_LVGL_INTEGRATION)), yes)
|
||||
include $(QUANTUM_DIR)/painter/lvgl/rules.mk
|
||||
endif
|
||||
|
||||
# add every keyboard-, keymap-, or user- level fonts and images
|
||||
QP_DIRS := $(KEYBOARD_PATHS) $(KEYMAP_PATH) $(USER_PATH)
|
||||
QP_FONTS := $(foreach dir,$(QP_DIRS),$(wildcard $(dir)/painter/fonts/*.qff.c))
|
||||
QP_IMGS := $(foreach dir,$(QP_DIRS),$(wildcard $(dir)/painter/images/*.qgf.c))
|
||||
SRC += $(QP_FONTS) $(QP_IMGS)
|
||||
|
||||
# TODO: generate a header file (with CLI) which includes all the headers found
|
||||
|
Loading…
Reference in New Issue
Block a user