mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
15 lines
428 B
Makefile
15 lines
428 B
Makefile
SRC := ws281x.c # All other sources files provide ws281x_write as submodule
|
|
SUBMODULES := 1
|
|
|
|
# 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
|