mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
Since `can.h` is including `libsocketcan.h` on `native%`, we need to depend on that package. Co-authored-by: crasbe <crasbe@gmail.com>
26 lines
565 B
Makefile
26 lines
565 B
Makefile
USEMODULE += can_raw
|
|
|
|
ifneq (,$(filter can_isotp,$(USEMODULE)))
|
|
USEMODULE += ztimer
|
|
USEMODULE += ztimer_usec
|
|
USEMODULE += gnrc_pktbuf
|
|
endif
|
|
|
|
ifneq (,$(filter conn_can,$(USEMODULE)))
|
|
USEMODULE += can_mbox
|
|
USEMODULE += ztimer
|
|
USEMODULE += ztimer_usec
|
|
endif
|
|
|
|
ifneq (,$(filter can_mbox,$(USEMODULE)))
|
|
USEMODULE += core_mbox
|
|
endif
|
|
|
|
# on native32/native64/native, the can headers include libsocketcan.h for
|
|
# some definitions, so we actually need to use that package
|
|
ifneq (,$(filter native%,$(BOARD)))
|
|
USEPKG += libsocketcan
|
|
endif
|
|
|
|
USEMODULE += memarray
|