mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/entropy_source: move dependency resolution in its own Makefile.dep
This commit is contained in:
parent
113200f9b2
commit
50ed85a2fa
@ -403,9 +403,6 @@ endif
|
|||||||
|
|
||||||
ifneq (,$(filter entropy_source_%,$(USEMODULE)))
|
ifneq (,$(filter entropy_source_%,$(USEMODULE)))
|
||||||
USEMODULE += entropy_source
|
USEMODULE += entropy_source
|
||||||
ifneq (,$(filter entropy_source_adc_noise,$(USEMODULE)))
|
|
||||||
FEATURES_REQUIRED += periph_adc
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter puf_sram,$(USEMODULE)))
|
ifneq (,$(filter puf_sram,$(USEMODULE)))
|
||||||
|
3
sys/entropy_source/Makefile.dep
Normal file
3
sys/entropy_source/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
ifneq (,$(filter entropy_source_adc_noise,$(USEMODULE)))
|
||||||
|
FEATURES_REQUIRED += periph_adc
|
||||||
|
endif
|
Loading…
Reference in New Issue
Block a user