mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
cpu/native: move socket_can include to Makefile.include
This commit is contained in:
parent
9a89b84c2c
commit
dbeda8ec1f
@ -21,10 +21,6 @@ ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter can_linux,$(USEMODULE)))
|
||||
LINKFLAGS += -lsocketcan
|
||||
endif
|
||||
|
||||
USEMODULE += periph
|
||||
|
||||
# UART is needed by startup.c
|
||||
|
||||
@ -5,4 +5,8 @@ ifeq ($(BUILDOSXNATIVE),1)
|
||||
NATIVEINCLUDES += -I$(RIOTCPU)/native/osx-libc-extra
|
||||
endif
|
||||
|
||||
ifneq (,$(filter can_linux,$(USEMODULE)))
|
||||
LINKFLAGS += -lsocketcan
|
||||
endif
|
||||
|
||||
TOOLCHAINS_SUPPORTED = gnu llvm afl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user