1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

pkg/lv_drivers: cleanup Makefile

This commit is contained in:
Alexandre Abadie 2022-07-06 15:23:42 +02:00
parent 9af87803c6
commit f4c460ac03
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -5,14 +5,11 @@ PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk
IGNORE_MODULES := \
#
LV_DRIVERS_MODULES := $(filter lv_drivers_%,$(USEMODULE))
LV_DRIVERS_MODULES := $(filter-out $(IGNORE_MODULES),$(filter lv_drivers_%,$(USEMODULE)))
.PHONY: lvgl_%
.PHONY: lv_drivers_%
all: $(LV_DRIVERS_MODULES)
lv_drivers_sdl:
"$(MAKE)" -C $(PKG_SOURCE_DIR)/sdl -f $(CURDIR)/Makefile.lv_drivers_module MODULE=$@ SRC=sdl.c
lv_drivers_%:
"$(MAKE)" -C $(PKG_SOURCE_DIR)/$* -f $(CURDIR)/Makefile.lv_drivers_module MODULE=$@ SRC=$*.c