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