From db19f6f54635fb7b1e39861c181613199176a922 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 21 Apr 2023 10:05:47 +0200 Subject: [PATCH] sys/puf_sram: move dependency resolution in its own Makefile.dep --- sys/Makefile.dep | 6 ------ sys/puf_sram/Makefile.dep | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 sys/puf_sram/Makefile.dep diff --git a/sys/Makefile.dep b/sys/Makefile.dep index 9357015900..dad7ead251 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -405,12 +405,6 @@ ifneq (,$(filter entropy_source_%,$(USEMODULE))) USEMODULE += entropy_source endif -ifneq (,$(filter puf_sram,$(USEMODULE))) - USEMODULE += hashes - USEMODULE += random - FEATURES_REQUIRED += puf_sram -endif - ifneq (,$(filter random,$(USEMODULE))) DEFAULT_MODULE += auto_init_random USEMODULE += prng diff --git a/sys/puf_sram/Makefile.dep b/sys/puf_sram/Makefile.dep new file mode 100644 index 0000000000..081fbf0c31 --- /dev/null +++ b/sys/puf_sram/Makefile.dep @@ -0,0 +1,3 @@ +USEMODULE += hashes +USEMODULE += random +FEATURES_REQUIRED += puf_sram