mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/cpp11-compat: move dependency resolution in its own Makefile.dep
This commit is contained in:
parent
cc27ff217b
commit
16b2606bac
@ -360,18 +360,6 @@ ifneq (,$(filter log_%,$(USEMODULE)))
|
||||
USEMODULE += log
|
||||
endif
|
||||
|
||||
ifneq (,$(filter cpp11-compat,$(USEMODULE)))
|
||||
USEMODULE += cpp_new_delete
|
||||
USEMODULE += ztimer64_usec
|
||||
USEMODULE += timex
|
||||
FEATURES_REQUIRED += cpp
|
||||
FEATURES_REQUIRED += libstdcpp
|
||||
ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
||||
# requires 64bit for syscalls
|
||||
USEMODULE += ztimer64_xtimer_compat
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter netstats_%, $(USEMODULE)))
|
||||
USEMODULE += netstats
|
||||
endif
|
||||
|
9
sys/cpp11-compat/Makefile.dep
Normal file
9
sys/cpp11-compat/Makefile.dep
Normal file
@ -0,0 +1,9 @@
|
||||
USEMODULE += cpp_new_delete
|
||||
USEMODULE += ztimer64_usec
|
||||
USEMODULE += timex
|
||||
FEATURES_REQUIRED += cpp
|
||||
FEATURES_REQUIRED += libstdcpp
|
||||
ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
||||
# requires 64bit for syscalls
|
||||
USEMODULE += ztimer64_xtimer_compat
|
||||
endif
|
Loading…
Reference in New Issue
Block a user