mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-16 18:12:45 +01:00
f0e7dfdf76
This introduces the cc2538_rf_netdev_legacy pseudomodule that switches to the netdev-based implementation of the cc2538 radio driver.
17 lines
328 B
Makefile
17 lines
328 B
Makefile
MODULE = cc2538_rf
|
|
|
|
SRC = \
|
|
cc2538_rf.c \
|
|
cc2538_rf_getset.c \
|
|
cc2538_rf_internal.c \
|
|
#
|
|
|
|
# use netdev implementation when legacy is explicitly enabled
|
|
ifneq (,$(filter cc2538_rf_netdev_legacy,$(USEMODULE)))
|
|
SRC += cc2538_rf_netdev.c
|
|
else
|
|
SRC += cc2538_rf_radio_ops.c
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|