mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 23:11:19 +01:00
Use pseudomodules to add a dependency on the relevant feature: periph_spi if the abp2_spi pseudomodule is selected, or periph_i2c if the abp2_i2c pseudomodule is selected.
6 lines
157 B
Makefile
6 lines
157 B
Makefile
PSEUDOMODULES += abp2_spi
|
|
PSEUDOMODULES += abp2_i2c
|
|
|
|
USEMODULE_INCLUDES_abp2 := $(LAST_MAKEFILEDIR)/include
|
|
USEMODULE_INCLUDES += $(USEMODULE_INCLUDES_abp2)
|