mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
sys/can: depend on libsocketcan for (native%)
Since `can.h` is including `libsocketcan.h` on `native%`, we need to depend on that package. Co-authored-by: crasbe <crasbe@gmail.com>
This commit is contained in:
parent
66ea4f7828
commit
747d5fb00d
@ -16,4 +16,10 @@ 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user