mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-28 23:29:45 +01:00
sys/senml: cleanup dependency resolution
This commit is contained in:
parent
090ccc5d21
commit
1c57e7355d
@ -385,8 +385,8 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_reg
|
||||
endif
|
||||
|
||||
ifneq (,$(filter senml%,$(USEMODULE)))
|
||||
include $(RIOTBASE)/sys/senml/Makefile.dep
|
||||
ifneq (,$(filter senml_%,$(USEMODULE)))
|
||||
USEMODULE += senml
|
||||
endif
|
||||
|
||||
ifneq (,$(filter phydat,$(USEMODULE)))
|
||||
|
@ -1,5 +1,4 @@
|
||||
ifneq (,$(filter senml_saul,$(USEMODULE)))
|
||||
USEMODULE += senml
|
||||
USEMODULE += senml_cbor
|
||||
USEMODULE += senml_phydat
|
||||
USEMODULE += saul_reg
|
||||
@ -7,10 +6,8 @@ endif
|
||||
|
||||
ifneq (,$(filter senml_cbor,$(USEMODULE)))
|
||||
USEPKG += nanocbor
|
||||
USEMODULE += senml
|
||||
endif
|
||||
|
||||
ifneq (,$(filter senml_phydat,$(USEMODULE)))
|
||||
USEMODULE += senml
|
||||
USEMODULE += phydat
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user