mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-28 23:09:46 +01:00
sys/can: move dependency resolution in its own Makefile.dep
This commit is contained in:
parent
9fb5708efe
commit
113200f9b2
@ -394,25 +394,11 @@ ifneq (,$(filter evtimer_mbox,$(USEMODULE)))
|
||||
USEMODULE += core_mbox
|
||||
endif
|
||||
|
||||
ifneq (,$(filter can,$(USEMODULE)))
|
||||
USEMODULE += can_raw
|
||||
ifneq (,$(filter can_mbox,$(USEMODULE)))
|
||||
USEMODULE += core_mbox
|
||||
endif
|
||||
USEMODULE += memarray
|
||||
endif
|
||||
|
||||
ifneq (,$(filter can_isotp,$(USEMODULE)))
|
||||
USEMODULE += ztimer
|
||||
USEMODULE += ztimer_usec
|
||||
USEMODULE += gnrc_pktbuf
|
||||
ifneq (,$(filter can_%,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter conn_can,$(USEMODULE)))
|
||||
USEMODULE += can
|
||||
USEMODULE += can_mbox
|
||||
USEMODULE += ztimer
|
||||
USEMODULE += ztimer_usec
|
||||
endif
|
||||
|
||||
ifneq (,$(filter entropy_source_%,$(USEMODULE)))
|
||||
|
19
sys/can/Makefile.dep
Normal file
19
sys/can/Makefile.dep
Normal file
@ -0,0 +1,19 @@
|
||||
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
|
||||
|
||||
USEMODULE += memarray
|
Loading…
Reference in New Issue
Block a user