1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/native/Makefile.dep
Leandro Lanzieri d4be753df8
cpu/native: remove unused can_linux module
b4f29035ce adapted the can_linux module to
the periph_can interface. This is a cleanup of some things that stayed
behind. Here the makefile is removed, the references to can_linux in the
dependency resolution and configuration Makefile are changed to the
standard periph_can, and the startup code is adapted.
2020-11-13 09:11:50 +01:00

23 lines
443 B
Makefile

ifneq (,$(filter netdev_default,$(USEMODULE)))
USEMODULE += netdev_tap
endif
ifneq (,$(filter mtd,$(USEMODULE)))
USEMODULE += mtd_native
endif
ifneq (,$(filter periph_can,$(FEATURES_USED)))
ifeq ($(OS),Linux)
CFLAGS += -DCAN_DLL_NUMOF=2
endif
endif
ifneq (,$(filter socket_zep,$(USEMODULE)))
USEMODULE += iolist
USEMODULE += netdev_ieee802154
USEMODULE += checksum
USEMODULE += random
endif
USEMODULE += native-drivers