1
0
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:
Marian Buschsieweke 2025-04-08 17:49:44 +02:00
parent 66ea4f7828
commit 747d5fb00d
No known key found for this signature in database
GPG Key ID: 758BD52517F79C41

View File

@ -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