1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/nrf52/radio/nrf802154/Makefile
Leandro Lanzieri 246391a9fa
cpu/nrf52/nrf802154: use driver specific legacy pseudomodule
This introduces the nrf802154_netdev_legacy pseudomodule that switches
to the netdev-based implementation of the nrf802154 radio driver.
2021-03-10 14:18:12 +01:00

11 lines
232 B
Makefile

MODULE = nrf802154
# use netdev implementation when legacy is explicitly enabled
ifneq (,$(filter nrf802154_netdev_legacy,$(USEMODULE)))
SRC += nrf802154.c
else
SRC += nrf802154_radio.c
endif
include $(RIOTBASE)/Makefile.base