1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/ws281x/Makefile

15 lines
428 B
Makefile
Raw Normal View History

SRC := ws281x.c # All other sources files provide ws281x_write as submodule
SUBMODULES := 1
2024-04-09 15:38:52 +02:00
# Since we have submodules we need to manually handle saul instead of
# including driver_with_saul.mk
MODULE ?= $(shell basename $(CURDIR))
SAUL_INTERFACE ?= $(MODULE)_saul.c
# only include <module>_saul.c if saul module is used
ifneq (,$(filter saul,$(USEMODULE)))
SRC += $(SAUL_INTERFACE)
endif
include $(RIOTBASE)/Makefile.base